1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

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

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)