@@ -301,7 +301,8 @@ export const defineGmailTests = (testVariant: TestVariant, testWithBrowser: Test
301301 ) ;
302302
303303 // convo-sensitive, draft-sensitive test
304- test . serial (
304+ // skipped temporarily as per https://github.com/FlowCrypt/flowcrypt-browser/issues/5934#issuecomment-2664926769, originally uses test.serial
305+ test . skip (
305306 'mail.google.com - secure reply btn, reply draft' ,
306307 testWithBrowser (
307308 async ( t , browser ) => {
@@ -403,7 +404,8 @@ export const defineGmailTests = (testVariant: TestVariant, testWithBrowser: Test
403404 ) ;
404405
405406 // https://github.com/FlowCrypt/flowcrypt-browser/issues/5906
406- test (
407+ // skipped temporarily as per https://github.com/FlowCrypt/flowcrypt-browser/issues/5934#issuecomment-2664926769
408+ test . skip (
407409 'mail.google.com - Keep original reply message when switching to secure mode' ,
408410 testWithBrowser ( async ( t , browser ) => {
409411 await BrowserRecipe . setUpCommonAcct ( t , browser , 'ci.tests.gmail' ) ;
@@ -421,7 +423,7 @@ export const defineGmailTests = (testVariant: TestVariant, testWithBrowser: Test
421423 await gmailPage . waitAll ( '.reply_message' ) ;
422424 await pageHasSecureReplyContainer ( t , browser , gmailPage , { isReplyPromptAccepted : true , composeFrameCount : 2 } ) ;
423425 const replyBox = await gmailPage . getFrame ( [ '/chrome/elements/compose.htm' , '&skipClickPrompt=___cu_true___' ] , { sleep : 5 } ) ;
424- await Util . sleep ( 3 ) ;
426+ await replyBox . waitAll ( [ '@action-expand-quoted-text' ] ) ;
425427 await replyBox . waitAndClick ( '@action-expand-quoted-text' ) ;
426428 // Check if quoted message doesn't contain last message
427429 expect ( await replyBox . read ( '@input-body' ) ) . to . not . contain ( `Here's reply` ) ;
@@ -495,7 +497,8 @@ export const defineGmailTests = (testVariant: TestVariant, testWithBrowser: Test
495497 } )
496498 ) ;
497499
498- test (
500+ // skipped temporarily as per https://github.com/FlowCrypt/flowcrypt-browser/issues/5934#issuecomment-2664926769
501+ test . skip (
499502 'mail.google.com - switch to encrypted forward' ,
500503 testWithBrowser ( async ( t , browser ) => {
501504 await BrowserRecipe . setUpCommonAcct ( t , browser , 'ci.tests.gmail' ) ;
@@ -537,6 +540,8 @@ export const defineGmailTests = (testVariant: TestVariant, testWithBrowser: Test
537540 await gmailPage . waitAndClick ( '@action-reply-all-message-button' ) ;
538541 const replyBox2 = await gmailPage . getFrame ( [ '/chrome/elements/compose.htm' ] , { sleep : 5 } ) ;
539542 await replyBox2 . waitForContent ( '@input-body' , '' ) ;
543+ const recipientsCount = await replyBox2 . target . $$eval ( '.email_address' , elements => elements . length ) ;
544+ expect ( recipientsCount ) . to . equal ( 2 ) ;
540545 await gmailPage . waitAndClick ( gmailContextMenu ) ;
541546 await Util . sleep ( 1 ) ;
542547 expect ( await gmailPage . isElementPresent ( '@action-forward-message-button' ) ) ;
0 commit comments