avoid autojoin latency in "should be usable for a conversation" (#9364)

pull/28788/head^2
Kerry 2022-10-06 16:09:40 +02:00 committed by GitHub
parent 0ec8d0ff56
commit 20f5adc9a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -73,7 +73,10 @@ describe("Threads", () => {
it("should be usable for a conversation", () => {
let bot: MatrixClient;
cy.getBot(synapse, { displayName: "BotBob" }).then(_bot => {
cy.getBot(synapse, {
displayName: "BotBob",
autoAcceptInvites: false,
}).then(_bot => {
bot = _bot;
});
@ -81,6 +84,7 @@ describe("Threads", () => {
cy.createRoom({}).then(_roomId => {
roomId = _roomId;
cy.inviteUser(roomId, bot.getUserId());
bot.joinRoom(roomId);
cy.visit("/#/room/" + roomId);
});