ESLinter fix in e2e tests after manual merging

This commit is contained in:
Victor Baranov 2019-01-28 23:18:41 +03:00
parent 6079160cc7
commit 2746526aba
1 changed files with 3 additions and 3 deletions

View File

@ -74,10 +74,10 @@ const connectHDWallet = async (f) => {
await f.delay(2000)
const allHandles = await f.driver.getAllWindowHandles()
assert.equal(allHandles.length, 2, "popup isn't opened")
driver.switchTo().window(allHandles[1])
f.driver.switchTo().window(allHandles[1])
await f.delay(2000)
driver.close()
driver.switchTo().window(allHandles[0])
f.driver.close()
f.driver.switchTo().window(allHandles[0])
await f.delay(2000)
assert.equal(allHandles.length, 2, "popup isn't opened")
await f.switchToFirstPage()