Skip to content

Commit

Permalink
testid
Browse files Browse the repository at this point in the history
  • Loading branch information
seaona committed Nov 5, 2024
1 parent d773dd6 commit 7f8d6be
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ describe('Phishing Detection', function () {
}

await driver.switchToWindowWithTitle('MetaMask Phishing Detection');

// we need to use this selector specifically because is the one that ensures that the event listener has been added
// see more here https://github.com/MetaMask/phishing-warning/pull/173
await driver.clickElement({
text: 'Proceed anyway',
testId: 'unsafe-continue-loaded',
});

await driver.wait(until.titleIs(WINDOW_TITLES.TestDApp), 10000);
Expand Down

0 comments on commit 7f8d6be

Please sign in to comment.