Skip to content

Commit

Permalink
Add additional e2e test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
david0xd committed Jun 24, 2024
1 parent 5b27216 commit af6896d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/e2e/flask/user-operations.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ async function installExampleSnap(driver: Driver) {
text: 'Confirm',
tag: 'button',
});

// wait for permissions popover, click checkboxes and confirm
await driver.waitForSelector('.mm-checkbox__input');
await driver.clickElement('.mm-checkbox__input');
await driver.waitForSelector(
'[data-testid="snap-install-warning-modal-confirm"]',
);
await driver.clickElement(
'[data-testid="snap-install-warning-modal-confirm"]',
);

await driver.clickElement({
text: 'OK',
tag: 'button',
Expand Down

0 comments on commit af6896d

Please sign in to comment.