Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions test/e2e/tests/onboarding.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,11 @@ describe('MetaMask onboarding @no-mmi', function () {

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

const dropdowns = await driver.findElements('select');
const dropdownElement = dropdowns[1];
await dropdownElement.click();
const options = await dropdownElement.findElements(
By.tagName('option'),
const dropdownElement = await driver.findElement(
'.import-srp__number-of-words-dropdown',
);
await dropdownElement.click();
const options = await dropdownElement.findElements(By.css('option'));

const iterations = options.length;

Expand Down