Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit c5a766b

Browse files
author
Kerry Archibald
committed
prettier
1 parent 9c50d22 commit c5a766b

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

cypress/e2e/settings/preferences-user-settings-tab.spec.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,11 @@ describe("Preferences user settings tab", () => {
4040
cy.contains("Preferences").should("be.visible");
4141
});
4242

43-
cy.findByTestId("mx_PreferencesUserSettingsTab").percySnapshotElement(
44-
"User settings tab - Preferences",
45-
{
46-
// Emulate TabbedView's actual min and max widths
47-
// 580: '.mx_UserSettingsDialog .mx_TabbedView' min-width
48-
// 796: 1036 (mx_TabbedView_tabsOnLeft actual width) - 240 (mx_TabbedView_tabPanel margin-right)
49-
widths: [580, 796],
50-
},
51-
);
43+
cy.findByTestId("mx_PreferencesUserSettingsTab").percySnapshotElement("User settings tab - Preferences", {
44+
// Emulate TabbedView's actual min and max widths
45+
// 580: '.mx_UserSettingsDialog .mx_TabbedView' min-width
46+
// 796: 1036 (mx_TabbedView_tabsOnLeft actual width) - 240 (mx_TabbedView_tabPanel margin-right)
47+
widths: [580, 796],
48+
});
5249
});
5350
});

0 commit comments

Comments
 (0)