ESLinter fix in e2e tests after manual merging
This commit is contained in:
parent
6079160cc7
commit
2746526aba
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue