1
0
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:
Mark Stacey 2023-06-20 13:03:24 -02:30 committed by GitHub
parent 3a61f179a3
commit f854937249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ const {
waitForAccountRendered,
convertToHexValue,
regularDelayMs,
login,
unlockWallet,
} = require('../helpers');
const FixtureBuilder = require('../fixture-builder');
@ -38,7 +38,7 @@ describe('Add account', function () {
},
async ({ driver }) => {
await driver.navigate();
await login(driver);
await unlockWallet(driver);
await driver.clickElement('[data-testid="account-menu-icon"]');
await driver.clickElement(
@ -173,7 +173,7 @@ describe('Add account', function () {
},
async ({ driver }) => {
await driver.navigate();
await login(driver);
await unlockWallet(driver);
await driver.clickElement('[data-testid="account-menu-icon"]');