@@ -167,7 +167,7 @@ test.describe("Integration Manager: Kick", () => {
167
167
await app . client . inviteUser ( room . roomId , targetUser . credentials . userId ) ;
168
168
await expect ( page . getByText ( `${ BOT_DISPLAY_NAME } joined the room` ) ) . toBeVisible ( ) ;
169
169
170
- await openIntegrationManager ( page ) ;
170
+ await openIntegrationManager ( app ) ;
171
171
await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
172
172
await closeIntegrationManager ( page , integrationManagerUrl ) ;
173
173
await expectKickedMessage ( page , true ) ;
@@ -185,7 +185,7 @@ test.describe("Integration Manager: Kick", () => {
185
185
} ,
186
186
} ) ;
187
187
188
- await openIntegrationManager ( page ) ;
188
+ await openIntegrationManager ( app ) ;
189
189
await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
190
190
await closeIntegrationManager ( page , integrationManagerUrl ) ;
191
191
await expectKickedMessage ( page , false ) ;
@@ -197,7 +197,7 @@ test.describe("Integration Manager: Kick", () => {
197
197
await expect ( page . getByText ( `${ BOT_DISPLAY_NAME } joined the room` ) ) . toBeVisible ( ) ;
198
198
await targetUser . leave ( room . roomId ) ;
199
199
200
- await openIntegrationManager ( page ) ;
200
+ await openIntegrationManager ( app ) ;
201
201
await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
202
202
await closeIntegrationManager ( page , integrationManagerUrl ) ;
203
203
await expectKickedMessage ( page , false ) ;
@@ -209,7 +209,7 @@ test.describe("Integration Manager: Kick", () => {
209
209
await expect ( page . getByText ( `${ BOT_DISPLAY_NAME } joined the room` ) ) . toBeVisible ( ) ;
210
210
await app . client . ban ( room . roomId , targetUser . credentials . userId ) ;
211
211
212
- await openIntegrationManager ( page ) ;
212
+ await openIntegrationManager ( app ) ;
213
213
await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
214
214
await closeIntegrationManager ( page , integrationManagerUrl ) ;
215
215
await expectKickedMessage ( page , false ) ;
@@ -218,7 +218,7 @@ test.describe("Integration Manager: Kick", () => {
218
218
test ( "should no-op if the target was never a room member" , async ( { page, app, bot : targetUser , room } ) => {
219
219
await app . viewRoomByName ( ROOM_NAME ) ;
220
220
221
- await openIntegrationManager ( page ) ;
221
+ await openIntegrationManager ( app ) ;
222
222
await sendActionFromIntegrationManager ( page , integrationManagerUrl , room . roomId , targetUser . credentials . userId ) ;
223
223
await closeIntegrationManager ( page , integrationManagerUrl ) ;
224
224
await expectKickedMessage ( page , false ) ;
0 commit comments