Skip to content

Commit 760eab1

Browse files
committed
test: fix failing test
1 parent 94e8cd3 commit 760eab1

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

test/source/tests/decrypt.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,21 @@ export const defineDecryptTests = (testVariant: TestVariant, testWithBrowser: Te
9898
const { acctEmail, authHdr } = await BrowserRecipe.setupCommonAcctWithAttester(t, browser, 'compatibility');
9999
const inboxPage = await browser.newExtensionPage(t, `chrome/settings/inbox/inbox.htm?acctEmail=${acctEmail}&threadId=${threadId}`);
100100
await inboxPage.waitForSelTestState('ready');
101-
await (await inboxPage.getFrame(['backup.htm'])).waitForContent('@private-key-status', 'This Private Key is already imported.');
101+
await (
102+
await inboxPage.getFrame(['backup.htm'])
103+
).waitForContent(
104+
'@private-key-status',
105+
'This private key with fingerprint E8F0 517B A6D7 DAB6 081C 96E4 ADAC 279C 9509 3207 has already been imported.'
106+
);
102107
await inboxPage.close();
103108
const gmailPage = await browser.newPage(t, `${t.context.urls?.mockGmailUrl()}/${threadId}`, undefined, authHdr);
104109
await gmailPage.waitAll('iframe');
105-
await (await gmailPage.getFrame(['backup.htm'])).waitForContent('@private-key-status', 'This Private Key is already imported.');
110+
await (
111+
await gmailPage.getFrame(['backup.htm'])
112+
).waitForContent(
113+
'@private-key-status',
114+
'This private key with fingerprint 5520 CACE 2CB6 1EA7 13E5 B005 7FDE 6855 48AE A788 has already been imported.'
115+
);
106116
await gmailPage.close();
107117
})
108118
);

0 commit comments

Comments
 (0)