Skip to content

Commit

Permalink
test: fix dapp test by waiting for login success
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesposito committed Dec 6, 2023
1 parent a36712c commit 9a5edec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/e2e/tests/dapp-interactions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ describe('Dapp interactions', function () {

await unlockWallet(driver, {
navigate: false,
waitLoginSuccess: false,
});

await driver.clickElement({ text: 'Next', tag: 'button' });
await driver.clickElement({ text: 'Connect', tag: 'button' });
await driver.switchToWindowWithTitle(WINDOW_TITLES.TestDApp);
Expand All @@ -89,7 +89,6 @@ describe('Dapp interactions', function () {
);
await unlockWallet(driver, {
navigate: false,
waitLoginSuccess: false,
});
await driver.clickElement(
'[data-testid ="account-options-menu-button"]',
Expand Down

0 comments on commit 9a5edec

Please sign in to comment.