mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Fix add-account e2e test (#19684)
The add-account e2e test was recently broken due to a conflict between the PRs #19293 and #19546 (a function was renamed)
This commit is contained in:
parent
3a61f179a3
commit
f854937249
@ -8,7 +8,7 @@ const {
|
|||||||
waitForAccountRendered,
|
waitForAccountRendered,
|
||||||
convertToHexValue,
|
convertToHexValue,
|
||||||
regularDelayMs,
|
regularDelayMs,
|
||||||
login,
|
unlockWallet,
|
||||||
} = require('../helpers');
|
} = require('../helpers');
|
||||||
|
|
||||||
const FixtureBuilder = require('../fixture-builder');
|
const FixtureBuilder = require('../fixture-builder');
|
||||||
@ -38,7 +38,7 @@ describe('Add account', function () {
|
|||||||
},
|
},
|
||||||
async ({ driver }) => {
|
async ({ driver }) => {
|
||||||
await driver.navigate();
|
await driver.navigate();
|
||||||
await login(driver);
|
await unlockWallet(driver);
|
||||||
|
|
||||||
await driver.clickElement('[data-testid="account-menu-icon"]');
|
await driver.clickElement('[data-testid="account-menu-icon"]');
|
||||||
await driver.clickElement(
|
await driver.clickElement(
|
||||||
@ -173,7 +173,7 @@ describe('Add account', function () {
|
|||||||
},
|
},
|
||||||
async ({ driver }) => {
|
async ({ driver }) => {
|
||||||
await driver.navigate();
|
await driver.navigate();
|
||||||
await login(driver);
|
await unlockWallet(driver);
|
||||||
|
|
||||||
await driver.clickElement('[data-testid="account-menu-icon"]');
|
await driver.clickElement('[data-testid="account-menu-icon"]');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user