Disable Percy snapshots that are flaky due to focus issues (#10416)

This commit is contained in:
Andy Balaam 2023-03-22 08:40:08 +00:00 committed by GitHub
parent 12f85778d8
commit 5116d823c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View file

@ -92,7 +92,8 @@ describe("Room Directory", () => {
cy.get('.mx_SpotlightDialog [aria-label="Search"]').type("{selectAll}{backspace}test1234");
cy.contains(".mx_SpotlightDialog .mx_SpotlightDialog_result_publicRoomName", name).should("exist");
cy.get(".mx_SpotlightDialog_wrapper").percySnapshotElement("Room Directory - filtered one result");
// Disabled because flaky - see https://github.com/vector-im/element-web/issues/24881
//cy.get(".mx_SpotlightDialog_wrapper").percySnapshotElement("Room Directory - filtered one result");
cy.get(".mx_SpotlightDialog .mx_SpotlightDialog_option").find(".mx_AccessibleButton").contains("Join").click();
cy.url().should("contain", `/#/room/#test1234:localhost`);