Skip to content

Commit d6a0a18

Browse files
committed
Update tests
1 parent 85a07c7 commit d6a0a18

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

playwright/e2e/settings/appearance-user-settings-tab/appearance-user-settings-tab.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ test.describe("Appearance user settings tab", () => {
5050
// Click "Show advanced" link button
5151
await tab.getByRole("button", { name: "Show advanced" }).click();
5252

53-
await tab.locator(".mx_Checkbox", { hasText: "Use bundled emoji font" }).click();
54-
await tab.locator(".mx_Checkbox", { hasText: "Use a system font" }).click();
53+
await tab.getByRole("switch", { name: "Use bundled emoji font" }).click();
54+
await tab.getByRole("switch", { name: "Use a system font" }).click();
5555

5656
// Assert that the font-family value was removed
5757
await expect(page.locator("body")).toHaveCSS("font-family", '""');

0 commit comments

Comments
 (0)