Add explicit timeout for add token test

This commit is contained in:
Whymarrh Whitby 2018-06-20 15:03:32 -02:30
parent 3123073659
commit 4cd4d99e70
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ describe('MetaMask', function () {
it('renders the balance for the chosen token', async () => {
const balance = await findElement(driver, By.css('.tx-view .balance-display .token-amount'))
await driver.wait(until.elementTextIs(balance, '0BAT'))
await driver.wait(until.elementTextIs(balance, '0BAT'), 10000)
const tokenAmount = await balance.getText()
assert.equal(tokenAmount, '0BAT')
await delay(regularDelayMs)