mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-08 07:28:26 +00:00
avoid autojoin latency in "should be usable for a conversation" (#9364)
This commit is contained in:
@@ -73,7 +73,10 @@ describe("Threads", () => {
|
|||||||
|
|
||||||
it("should be usable for a conversation", () => {
|
it("should be usable for a conversation", () => {
|
||||||
let bot: MatrixClient;
|
let bot: MatrixClient;
|
||||||
cy.getBot(synapse, { displayName: "BotBob" }).then(_bot => {
|
cy.getBot(synapse, {
|
||||||
|
displayName: "BotBob",
|
||||||
|
autoAcceptInvites: false,
|
||||||
|
}).then(_bot => {
|
||||||
bot = _bot;
|
bot = _bot;
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -81,6 +84,7 @@ describe("Threads", () => {
|
|||||||
cy.createRoom({}).then(_roomId => {
|
cy.createRoom({}).then(_roomId => {
|
||||||
roomId = _roomId;
|
roomId = _roomId;
|
||||||
cy.inviteUser(roomId, bot.getUserId());
|
cy.inviteUser(roomId, bot.getUserId());
|
||||||
|
bot.joinRoom(roomId);
|
||||||
cy.visit("/#/room/" + roomId);
|
cy.visit("/#/room/" + roomId);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user