Skip to content

Commit

Permalink
added timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanmo226 committed May 15, 2024
1 parent 40e7578 commit 9a52301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/source/tests/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1534,9 +1534,11 @@ AN8G3r5Htj8olot+jm9mIa5XLXWzMNUZgg==
await gmailPage.close();
// 6. EKM returns a newer version of the existing key, entering the passphrase, update toast
gmailPage = await browser.newMockGmailPage(t, extraAuthHeaders);
await Util.sleep(2);
await gmailPage.waitAll('@dialog-passphrase');
{
const passphraseDialog = await gmailPage.getFrame(['passphrase.htm']);
await Util.sleep(2);
await passphraseDialog.waitForContent('@passphrase-text', 'Enter FlowCrypt pass phrase to keep your account keys up to date');
await passphraseDialog.waitAndType('@input-pass-phrase', passphrase);
await passphraseDialog.waitAndClick('@action-confirm-pass-phrase-entry');
Expand Down

0 comments on commit 9a52301

Please sign in to comment.