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

@ -75,7 +75,7 @@ describe("Poll history", () => {
};
function openPollHistory(): void {
cy.findByRole("tab", { name: "Room info" }).click();
cy.findByRole("button", { name: "Room info" }).click();
cy.get(".mx_RoomSummaryCard").within(() => {
cy.findByRole("button", { name: "Poll history" }).click();
});