@@ -386,76 +386,3 @@ sessionTestTwoWindows(
386386    console . log ( timesArray ) ; 
387387  } , 
388388) ; 
389- 
390- // *************** NEED TO WAIT FOR LINK PREVIEW FIX ************************************************* 
391- 
392- test_Alice_1W_Bob_1W ( 
393-   'Send link 1:1' , 
394-   async  ( {  alice,  aliceWindow1,  bob,  bobWindow1 } )  =>  { 
395-     const  testMessage  =  'https://example.net' ; 
396-     const  testReply  =  `${ bob . userName } ${ alice . userName }  ; 
397- 
398-     await  createContact ( aliceWindow1 ,  bobWindow1 ,  alice ,  bob ) ; 
399- 
400-     await  typeIntoInput ( aliceWindow1 ,  'message-input-text-area' ,  testMessage ) ; 
401-     await  sleepFor ( 5000 ) ; 
402-     await  clickOnElement ( { 
403-       window : aliceWindow1 , 
404-       strategy : 'data-testid' , 
405-       selector : 'send-message-button' , 
406-     } ) ; 
407-     await  sleepFor ( 1000 ) ; 
408-     await  replyTo ( { 
409-       senderWindow : bobWindow1 , 
410-       textMessage : testMessage , 
411-       replyText : testReply , 
412-       receiverWindow : aliceWindow1 , 
413-     } ) ; 
414-   } , 
415- ) ; 
416- 
417- test_Alice_1W_Bob_1W ( 
418-   'Send community invite' , 
419-   async  ( {  alice,  aliceWindow1,  bob,  bobWindow1 } )  =>  { 
420-     await  createContact ( aliceWindow1 ,  bobWindow1 ,  alice ,  bob ) ; 
421-     await  joinCommunity ( aliceWindow1 ) ; 
422-     await  clickOnTestIdWithText ( aliceWindow1 ,  'conversation-options-avatar' ) ; 
423-     await  clickOnTestIdWithText ( aliceWindow1 ,  'add-user-button' ) ; 
424-     // Implementing in groups rebuild 
425-     // await waitForTestIdWithText( 
426-     //   aliceWindow1, 
427-     //   'modal-heading', 
428-     //   englishStrippedStr('membersInvite').toString(), 
429-     // ); 
430-     // await clickOnTestIdWithText(aliceWindow1, 'contact', bob.userName); 
431-     await  clickOnMatchingText ( aliceWindow1 ,  bob . userName ) ; 
432-     // await clickOnTestIdWithText(aliceWindow1, 'session-confirm-ok-button'); 
433-     await  clickOnMatchingText ( 
434-       aliceWindow1 , 
435-       englishStrippedStr ( 'okay' ) . toString ( ) , 
436-     ) ; 
437-     // Implementing in groups rebuild 
438-     // await clickOnTestIdWithText(aliceWindow1, 'modal-close-button'); 
439-     await  clickOnTestIdWithText ( 
440-       aliceWindow1 , 
441-       'module-conversation__user__profile-name' , 
442-       bob . userName , 
443-     ) ; 
444-     await  Promise . all ( [ 
445-       waitForElement ( 
446-         aliceWindow1 , 
447-         'class' , 
448-         'group-name' , 
449-         undefined , 
450-         testCommunityName , 
451-       ) , 
452-       waitForElement ( 
453-         bobWindow1 , 
454-         'class' , 
455-         'group-name' , 
456-         undefined , 
457-         testCommunityName , 
458-       ) , 
459-     ] ) ; 
460-   } , 
461- ) ; 
0 commit comments