Skip to content

Commit f3be9f3

Browse files
committed
[E2E] Remove quotes from selectors
1 parent b181588 commit f3be9f3

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tests/e2e/pageObjects/help-center-page.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ export class HelpCenterPage {
1919
//*The following categories are ordered alphabetically (Alerts, Buttons, Checkboxes, etc.).
2020
//-------------------------------------------------------------------------------------------
2121
// BUTTONS
22-
this.helpCenterSubmitBugButton = Selector('[data-testid="submit-bug-btn"]');
23-
this.helpCenterShortcutButton = Selector('[data-testid="shortcuts-btn"]');
24-
this.helpCenterReleaseNotesButton = Selector('[data-testid="release-notes-btn"]');
22+
this.helpCenterSubmitBugButton = Selector('[data-testid=submit-bug-btn]');
23+
this.helpCenterShortcutButton = Selector('[data-testid=shortcuts-btn]');
24+
this.helpCenterReleaseNotesButton = Selector('[data-testid=release-notes-btn]');
2525
// Panel
26-
this.helpCenterPanel = Selector('[data-testid="help-center"]')
26+
this.helpCenterPanel = Selector('[data-testid=help-center]')
2727
}
2828
}

tests/e2e/pageObjects/shortcuts-page.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export class ShortcutsPage {
2222
//*The following categories are ordered alphabetically (Alerts, Buttons, Checkboxes, etc.).
2323
//-------------------------------------------------------------------------------------------
2424
// BUTTONS
25-
this.shortcutsTitle = Selector('[data-testid="shortcuts-title"]');
25+
this.shortcutsTitle = Selector('[data-testid=shortcuts-title]');
2626
this.shortcutsDesktopApplicationSection = Selector('[data-test-subj="shortcuts-section-Desktop application"]');
27-
this.shortcutsCLISection = Selector('[data-test-subj="shortcuts-section-CLI"]');
28-
this.shortcutsWorkbenchSection = Selector('[data-test-subj="shortcuts-section-Workbench"]');
29-
this.shortcutsCloseButton = Selector('[data-test-subj="euiFlyoutCloseButton"]')
27+
this.shortcutsCLISection = Selector('[data-test-subj=shortcuts-section-CLI]');
28+
this.shortcutsWorkbenchSection = Selector('[data-test-subj=shortcuts-section-Workbench]');
29+
this.shortcutsCloseButton = Selector('[data-test-subj=euiFlyoutCloseButton]')
3030
// Panel
31-
this.shortcutsPanel = Selector('[data-test-subj="shortcuts-flyout"]');
31+
this.shortcutsPanel = Selector('[data-test-subj=shortcuts-flyout]');
3232
}
3333
}

0 commit comments

Comments
 (0)