Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 20f5adc

Browse files
author
Kerry
authored
avoid autojoin latency in "should be usable for a conversation" (#9364)
1 parent 0ec8d0f commit 20f5adc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cypress/e2e/threads/threads.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,18 @@ describe("Threads", () => {
7373

7474
it("should be usable for a conversation", () => {
7575
let bot: MatrixClient;
76-
cy.getBot(synapse, { displayName: "BotBob" }).then(_bot => {
76+
cy.getBot(synapse, {
77+
displayName: "BotBob",
78+
autoAcceptInvites: false,
79+
}).then(_bot => {
7780
bot = _bot;
7881
});
7982

8083
let roomId: string;
8184
cy.createRoom({}).then(_roomId => {
8285
roomId = _roomId;
8386
cy.inviteUser(roomId, bot.getUserId());
87+
bot.joinRoom(roomId);
8488
cy.visit("/#/room/" + roomId);
8589
});
8690

0 commit comments

Comments
 (0)