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 -3
View File
@@ -241,9 +241,7 @@ describe("Sliding Sync", () => {
});
it("should update user settings promptly", () => {
cy.findByRole("button", { name: "User menu" }).click();
cy.findByRole("menuitem", { name: "All settings" }).click();
cy.findByRole("button", { name: "Preferences" }).click();
cy.openUserSettings("Preferences");
cy.contains(".mx_SettingsFlag", "Show timestamps in 12 hour format")
.should("exist")
.find(".mx_ToggleSwitch_on")