mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
[e2e] ENS test improvement - with network controller fixture (#18119)
* With network controller fixture * fix lint
This commit is contained in:
parent
eafffb1af5
commit
b8ec3623ff
@ -52,7 +52,16 @@ describe('ENS', function () {
|
||||
it('domain resolves to a correct address', async function () {
|
||||
await withFixtures(
|
||||
{
|
||||
fixtures: new FixtureBuilder().build(),
|
||||
fixtures: new FixtureBuilder()
|
||||
.withNetworkController({
|
||||
provider: {
|
||||
chainId: '0x1',
|
||||
nickname: '',
|
||||
rpcUrl: '',
|
||||
type: 'mainnet',
|
||||
},
|
||||
})
|
||||
.build(),
|
||||
ganacheOptions,
|
||||
title: this.test.title,
|
||||
testSpecificMock: mockInfura,
|
||||
@ -63,8 +72,6 @@ describe('ENS', function () {
|
||||
await driver.press('#password', driver.Key.ENTER);
|
||||
|
||||
await driver.waitForElementNotPresent('.loading-overlay');
|
||||
await driver.clickElement('.network-display');
|
||||
await driver.clickElement({ text: 'Ethereum Mainnet', tag: 'span' });
|
||||
|
||||
await driver.clickElement('[data-testid="eth-overview-send"]');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user