Skip to content

Commit

Permalink
Remove e2e test delay increases
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Dec 5, 2020
1 parent f243529 commit e1aec0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/metamask-ui.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ describe('MetaMask', function () {
)

await driver.clickElement(By.css('#depositButton'))
await driver.delay(largeDelayMs * 2)
await driver.delay(largeDelayMs)

contractStatus = await driver.findElement(By.css('#contractStatus'))
await driver.wait(
Expand All @@ -910,7 +910,7 @@ describe('MetaMask', function () {
)

await driver.switchToWindow(extension)
await driver.delay(largeDelayMs * 3)
await driver.delay(largeDelayMs * 2)

await driver.findElements(By.css('.transaction-list-item--unconfirmed'))
const txListValue = await driver.findClickableElement(
Expand Down Expand Up @@ -1375,7 +1375,7 @@ describe('MetaMask', function () {
await driver.delay(regularDelayMs)

await driver.switchToWindow(dapp)
await driver.delay(largeDelayMs * 2)
await driver.delay(tinyDelayMs)

await driver.clickElement(
By.xpath(`//button[contains(text(), 'Approve Tokens')]`),
Expand Down

0 comments on commit e1aec0e

Please sign in to comment.