Skip to content

Commit

Permalink
waiting for element to render before trying to fill; flaky e2e fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vthomas13 committed May 10, 2024
1 parent cfcbd1e commit ce796ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/tests/onboarding/onboarding.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ describe('MetaMask onboarding @no-mmi', function () {

// metrics
await driver.clickElement('[data-testid="metametrics-no-thanks"]');

await driver.findElement('[data-testid="create-password-new"]');
// Fill in confirm password field with incorrect password
await driver.fill(
'[data-testid="create-password-new"]',
Expand Down

0 comments on commit ce796ea

Please sign in to comment.