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 15:46:18 +01:00 committed by GitHub
parent 621fdf1313
commit 4b1b9b17ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 8 deletions

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