@@ -167,7 +167,7 @@ test.describe("Integration Manager: Kick", () => {
167167 await app . client . inviteUser ( room . roomId , targetUser . credentials . userId ) ;
168168 await expect ( page . getByText ( `${ BOT_DISPLAY_NAME } joined the room` ) ) . toBeVisible ( ) ;
169169
170- await openIntegrationManager ( page ) ;
170+ await openIntegrationManager ( app ) ;
171171 await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
172172 await closeIntegrationManager ( page , integrationManagerUrl ) ;
173173 await expectKickedMessage ( page , true ) ;
@@ -185,7 +185,7 @@ test.describe("Integration Manager: Kick", () => {
185185 } ,
186186 } ) ;
187187
188- await openIntegrationManager ( page ) ;
188+ await openIntegrationManager ( app ) ;
189189 await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
190190 await closeIntegrationManager ( page , integrationManagerUrl ) ;
191191 await expectKickedMessage ( page , false ) ;
@@ -197,7 +197,7 @@ test.describe("Integration Manager: Kick", () => {
197197 await expect ( page . getByText ( `${ BOT_DISPLAY_NAME } joined the room` ) ) . toBeVisible ( ) ;
198198 await targetUser . leave ( room . roomId ) ;
199199
200- await openIntegrationManager ( page ) ;
200+ await openIntegrationManager ( app ) ;
201201 await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
202202 await closeIntegrationManager ( page , integrationManagerUrl ) ;
203203 await expectKickedMessage ( page , false ) ;
@@ -209,7 +209,7 @@ test.describe("Integration Manager: Kick", () => {
209209 await expect ( page . getByText ( `${ BOT_DISPLAY_NAME } joined the room` ) ) . toBeVisible ( ) ;
210210 await app . client . ban ( room . roomId , targetUser . credentials . userId ) ;
211211
212- await openIntegrationManager ( page ) ;
212+ await openIntegrationManager ( app ) ;
213213 await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
214214 await closeIntegrationManager ( page , integrationManagerUrl ) ;
215215 await expectKickedMessage ( page , false ) ;
@@ -218,7 +218,7 @@ test.describe("Integration Manager: Kick", () => {
218218 test ( "should no-op if the target was never a room member" , async ( { page, app, bot : targetUser , room } ) => {
219219 await app . viewRoomByName ( ROOM_NAME ) ;
220220
221- await openIntegrationManager ( page ) ;
221+ await openIntegrationManager ( app ) ;
222222 await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
223223 await closeIntegrationManager ( page , integrationManagerUrl ) ;
224224 await expectKickedMessage ( page , false ) ;
0 commit comments