File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ messageLengthTestCases.forEach((testCase) => {
348348 aliceWindow1 ,
349349 englishStrippedStr ( 'modalMessageTooLongTitle' ) . toString ( ) ,
350350 englishStrippedStr ( 'modalMessageTooLongDescription' )
351- . withArgs ( { limit : maxChars . toLocaleString ( 'en-AU' ) } ) // With .toString() the test expects "2000" not "2,000 "
351+ . withArgs ( { limit : maxChars . toLocaleString ( 'en-AU' ) } ) // Force "2,000" instead of "2000 "
352352 . toString ( ) ,
353353 ) ;
354354 await clickOn ( aliceWindow1 , Global . confirmButton ) ;
Original file line number Diff line number Diff line change @@ -240,7 +240,9 @@ test_Alice_1W_Bob_1W(
240240 'account-id' ,
241241 ) ;
242242 expect ( elText ) . toMatch ( / ^ 1 5 / ) ;
243- const messageButton = aliceWindow1 . getByTestId ( HomeScreen . newMessageAccountIDInput . selector )
243+ const messageButton = aliceWindow1 . getByTestId (
244+ HomeScreen . newMessageAccountIDInput . selector ,
245+ ) ;
244246 await expect ( messageButton ) . toHaveClass ( / d i s a b l e d / ) ;
245247 } ,
246248) ;
You can’t perform that action at this time.
0 commit comments