@@ -463,22 +463,21 @@ export const defineGmailTests = (testVariant: TestVariant, testWithBrowser: Test
463463 await BrowserRecipe . setUpCommonAcct ( t , browser , 'ci.tests.gmail' ) ;
464464 const gmailPage = await openGmailPage ( t , browser ) ;
465465 await gotoGmailPage ( gmailPage , '/FMfcgzGtwgfMhWTlgRwwKWzRhqNZzwXz' ) ; // go to encrypted convo
466- await Util . sleep ( 5 ) ;
467466 const actionsMenuSelector = '.J-J5-Ji.aap' ;
468467 await gmailPage . waitAndClick ( actionsMenuSelector ) ;
469- await Util . sleep ( 3 ) ;
470468 expect ( await gmailPage . isElementPresent ( '@action-reply-message-button' ) ) ;
469+ expect ( await gmailPage . isElementPresent ( '@action-reply-all-message-button' ) ) ;
470+ expect ( await gmailPage . isElementPresent ( '@action-forward-message-button' ) ) ;
471471 await gmailPage . waitAndClick ( '@action-reply-message-button' ) ;
472472 const replyBox = await gmailPage . getFrame ( [ '/chrome/elements/compose.htm' ] , { sleep : 5 } ) ;
473- await Util . sleep ( 3 ) ;
474473 await replyBox . waitForContent ( '@input-body' , '' ) ;
475474 await gmailPage . waitAndClick ( actionsMenuSelector ) ;
476- await Util . sleep ( 3 ) ;
477- expect ( await gmailPage . isElementPresent ( '@action-forward-message-button' ) ) ;
478- await gmailPage . waitAndClick ( '@action-forward-message-button' ) ;
475+ await gmailPage . waitAndClick ( '@action-reply-all-message-button' ) ;
479476 const replyBox2 = await gmailPage . getFrame ( [ '/chrome/elements/compose.htm' ] , { sleep : 5 } ) ;
480- await Util . sleep ( 3 ) ;
481- await replyBox2 . waitForContent ( '@input-body' , '---------- Forwarded message ---------' ) ;
477+ await replyBox2 . waitForContent ( '@input-body' , '' ) ;
478+ await gmailPage . waitAndClick ( '@action-forward-message-button' ) ;
479+ const replyBox3 = await gmailPage . getFrame ( [ '/chrome/elements/compose.htm' ] , { sleep : 5 } ) ;
480+ await replyBox3 . waitForContent ( '@input-body' , '---------- Forwarded message ---------' ) ;
482481 } )
483482 ) ;
484483
0 commit comments