mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
Fix add existing token test (e2e beta tests).
This commit is contained in:
parent
669f2437c7
commit
bec3fa3dbf
@ -836,9 +836,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'))
|
||||
const tokenAmount = await balance.getText()
|
||||
assert.equal(tokenAmount, '0BAT')
|
||||
await driver.wait(until.elementTextMatches(balance, /0\sBAT/))
|
||||
await delay(regularDelayMs)
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user