Skip to content

Commit 609a8b2

Browse files
authored
#6000 Fix: gmail chat test (#6003)
* fix: gmail chat test * fix: gmail test * fix * fix: test * fix: test
1 parent 5b24d82 commit 609a8b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/source/tests/gmail.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ export const defineGmailTests = (testVariant: TestVariant, testWithBrowser: Test
153153
const gmailPage = await openGmailPage(t, browser);
154154
await gotoGmailPage(gmailPage, '/FMfcgzGkbDWztBnnCgRHzjrvmFqLtcJD');
155155
const expectedMessage = { content: ['this should decrypt even offline'], signature: 'signed', encryption: 'encrypted' };
156+
await Util.sleep(5);
156157
await BrowserRecipe.pgpBlockCheck(t, await gmailPage.getFrame(['/chrome/elements/pgp_block.htm'], { sleep: 10, timeout: 25 }), expectedMessage);
157158
await gotoGmailPage(gmailPage, '/FMfcgzGkbDRNgcQxLmkhBCKVSFwkfdvV'); // plain convo
158159
await gmailPage.page.setOfflineMode(true); // go offline mode

test/source/tests/tooling/browser-recipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class BrowserRecipe {
7575
// close announcement about updated UI
7676
await googleChatPage.waitAndClick('.fKz7Od', { delay: 1 });
7777
}
78-
await googleChatPage.waitAll('.T-I-KE'); // New chat button
78+
await googleChatPage.waitAll('a.gb_5d'); // Google hangout logo
7979
return googleChatPage;
8080
};
8181

0 commit comments

Comments
 (0)