@@ -33,7 +33,7 @@ test.describe("Other people's devices section in Encryption tab", () => {
3333
3434 // Create the room and invite bob
3535 await createRoom ( alicePage , "TestRoom" , true ) ;
36- await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId ) ;
36+ await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId , { confirmUnknownUser : true } ) ;
3737
3838 // Bob accepts the invite
3939 await bobPage . getByRole ( "option" , { name : "TestRoom" } ) . click ( ) ;
@@ -72,7 +72,7 @@ test.describe("Other people's devices section in Encryption tab", () => {
7272
7373 // Create the room and invite bob
7474 await createRoom ( alicePage , "TestRoom" , true ) ;
75- await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId ) ;
75+ await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId , { confirmUnknownUser : true } ) ;
7676
7777 // Bob accepts the invite
7878 await bobPage . getByRole ( "option" , { name : "TestRoom" } ) . click ( ) ;
@@ -115,7 +115,7 @@ test.describe("Other people's devices section in Encryption tab", () => {
115115
116116 // Create the room and invite bob
117117 await createRoom ( alicePage , "TestRoom" , true ) ;
118- await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId ) ;
118+ await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId , { confirmUnknownUser : true } ) ;
119119
120120 // Bob accepts the invite and dismisses the warnings.
121121 await bobPage . getByRole ( "option" , { name : "TestRoom" } ) . click ( ) ;
@@ -149,7 +149,7 @@ test.describe("Other people's devices section in Encryption tab", () => {
149149
150150 // Alice creates the room and invite Bob.
151151 await createRoom ( alicePage , "TestRoom" , true ) ;
152- await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId ) ;
152+ await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId , { confirmUnknownUser : true } ) ;
153153
154154 // Bob accepts the invite.
155155 await bobPage . getByRole ( "option" , { name : "TestRoom" } ) . click ( ) ;
@@ -214,7 +214,7 @@ test.describe("Other people's devices section in Encryption tab", () => {
214214
215215 // Alice creates the room and invite Bob.
216216 await createRoom ( alicePage , "TestRoom" , true ) ;
217- await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId ) ;
217+ await aliceElementApp . inviteUserToCurrentRoom ( bobCredentials . userId , { confirmUnknownUser : true } ) ;
218218
219219 // Bob accepts the invite.
220220 await bobPage . getByRole ( "option" , { name : "TestRoom" } ) . click ( ) ;
0 commit comments