diff options
Diffstat (limited to 'test/e2e/metamask-ui.spec.js')
-rw-r--r-- | test/e2e/metamask-ui.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/metamask-ui.spec.js b/test/e2e/metamask-ui.spec.js index 5c3e807fd..ef1ec6d47 100644 --- a/test/e2e/metamask-ui.spec.js +++ b/test/e2e/metamask-ui.spec.js @@ -221,7 +221,7 @@ describe('MetaMask', function () { describe('Show account information', () => { it('shows the QR code for the account', async () => { - await driver.findElement(By.css('.wallet-view__details-button')).click() + await driver.findElement(By.css('.account-details__details-button')).click() await driver.findElement(By.css('.qr-wrapper')).isDisplayed() await delay(regularDelayMs) @@ -273,7 +273,7 @@ describe('MetaMask', function () { }) it('should display correct account name', async () => { - const accountName = await findElement(driver, By.css('.account-name')) + const accountName = await findElement(driver, By.css('.account-details__account-name')) assert.equal(await accountName.getText(), '2nd account') await delay(regularDelayMs) }) |