Update roles cypress is looking for (#10708)

* Update roles cypress is looking for

* Fix sliding sync test
This commit is contained in:
Michael Telatynski
2023-04-25 14:46:18 +00:00
committed by GitHub
parent 621fdf1313
commit 4b1b9b17ef
6 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ describe("Threads", () => {
cy.get(".mx_ThreadSummary_content").findByText("How are things?").should("exist");
});
cy.findByRole("tab", { name: "Threads" })
cy.findByRole("button", { name: "Threads" })
.should("have.class", "mx_RightPanel_headerButton_unread") // User asserts thread list unread indicator
.click(); // User opens thread list