Skip to content

Commit

Permalink
Document issue to follow
Browse files Browse the repository at this point in the history
  • Loading branch information
estellecomment committed Nov 7, 2023
1 parent 31884ef commit 9a2d982
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/support/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ Cypress.Commands.add("leaveRoom", (roomId: string): Chainable<{}> => {
return cy.getClient().then((cli) => cli.leave(roomId));
});

// Needed until this is fixed : https://github.com/tchapgouv/synapse-manage-last-admin/issues/11
Cypress.Commands.add("leaveRoomWithSilentFail", (roomId: string): Chainable<{}> => {
return cy.getClient().then((cli) => {
return cli.leave(roomId).catch((err) => {
Expand Down

0 comments on commit 9a2d982

Please sign in to comment.