@@ -23,7 +23,10 @@ test.describe("Key storage out of sync toast", () => {
2323 await deleteCachedSecrets ( page ) ;
2424
2525 // We won't be prompted for crypto setup unless we have an e2e room, so make one
26- await page . getByRole ( "navigation" , { name : "Room list" } ) . getByRole ( "button" , { name : "Add" } ) . click ( ) ;
26+ await page
27+ . getByRole ( "navigation" , { name : "Room list" } )
28+ . getByRole ( "button" , { name : "New conversation" } )
29+ . click ( ) ;
2730 await page . getByRole ( "menuitem" , { name : "New room" } ) . click ( ) ;
2831 await page . getByRole ( "textbox" , { name : "Name" } ) . fill ( "Test room" ) ;
2932 await page . getByRole ( "button" , { name : "Create room" } ) . click ( ) ;
@@ -68,7 +71,10 @@ test.describe("'Turn on key storage' toast", () => {
6871 await logIntoElementAndVerify ( page , credentials , recoveryKey . encodedPrivateKey ) ;
6972
7073 // We won't be prompted for crypto setup unless we have an e2e room, so make one
71- await page . getByRole ( "navigation" , { name : "Room list" } ) . getByRole ( "button" , { name : "Add" } ) . click ( ) ;
74+ await page
75+ . getByRole ( "navigation" , { name : "Room list" } )
76+ . getByRole ( "button" , { name : "New conversation" } )
77+ . click ( ) ;
7278 await page . getByRole ( "menuitem" , { name : "New room" } ) . click ( ) ;
7379 await page . getByRole ( "textbox" , { name : "Name" } ) . fill ( "Test room" ) ;
7480 await page . getByRole ( "button" , { name : "Create room" } ) . click ( ) ;
0 commit comments