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:
parent
3123073659
commit
4cd4d99e70
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user