e2e: improve stability #1
This commit is contained in:
parent
8369b7c369
commit
df77dcf657
|
@ -244,11 +244,11 @@ describe('Metamask popup page', async function () {
|
|||
})
|
||||
})
|
||||
|
||||
describe('Import Contract', async () => {
|
||||
describe('Import Contract account', async () => {
|
||||
const poaContract = '0xc6468767214c577013a904900ada0a0dd6653bc3'
|
||||
const wrongAddress = '0xB87b6077D59B01Ab9fa8cd5A1A21D02a4d60D35'
|
||||
const notContractAddress = '0x56B2e3C3cFf7f3921Dc2e0F8B8e20d1eEc29216b'
|
||||
|
||||
describe('Import Contract', async () => {
|
||||
it('opens import account menu', async function () {
|
||||
await setProvider(NETWORKS.ROPSTEN)
|
||||
const menu = await waitUntilShowUp(menus.account.menu)
|
||||
|
@ -318,9 +318,8 @@ describe('Metamask popup page', async function () {
|
|||
await field.sendKeys(notContractAddress)
|
||||
const button = await waitUntilShowUp(screens.importAccounts.buttonImport)
|
||||
await button.click()
|
||||
await waitUntilShowUp(elements.loader, 25)
|
||||
await delay(2000)
|
||||
await waitUntilDisappear(elements.loader, 25)
|
||||
await waitUntilShowUp(elements.loader, 60)
|
||||
await waitUntilDisappear(elements.loader, 60)
|
||||
})
|
||||
|
||||
it.skip('Error message if not contract address', async function () {
|
||||
|
@ -501,7 +500,7 @@ describe('Metamask popup page', async function () {
|
|||
assert.notEqual(identicon, false, 'main screen didn\'t opened')
|
||||
})
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
describe('Sign Data', () => {
|
||||
|
||||
|
|
Loading…
Reference in New Issue