Skip to content

Commit 51eacfc

Browse files
fix per comments
1 parent 33def99 commit 51eacfc

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

tests/e2e/pageObjects/settings-page.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,16 @@ export class SettingsPage extends BasePage {
2828
//Date and Time Format
2929
selectFormatDropdown = Selector('[data-test-subj=select-datetime]');
3030
selectTimezoneDropdown = Selector('[data-test-subj=select-timezone]');
31-
getDateTimeOption = (option: string): Selector =>
32-
Selector(`[data-test-subj^=date-option-${option}]`);
33-
getZoneOption = (option: string): Selector =>
34-
Selector(`[data-test-subj=zone-option-${option}]`);
3531
dataPreview = Selector('[data-testid=data-preview]');
3632
customRadioButton = Selector('[id=custom]').sibling();
3733
customTextField = Selector('[data-testid=custom-datetime-input]');
3834
saveCustomFormatButton = Selector('[data-testid=datetime-custom-btn]');
3935

36+
getDateTimeOption = (option: string): Selector =>
37+
Selector(`[data-test-subj^=date-option-${option}]`);
38+
getZoneOption = (option: string): Selector =>
39+
Selector(`[data-test-subj=zone-option-${option}]`);
40+
4041
/**
4142
* Change Keys to Scan value
4243
* @param value Value for scan

tests/e2e/tests/web/regression/settings/settings.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const settingsPage = new SettingsPage();
1414
const memoryEfficiencyPage = new MemoryEfficiencyPage();
1515
const databaseHelper = new DatabaseHelper();
1616

17-
fixture `Add keys`
17+
fixture `DataTime format setting`
1818
.meta({
1919
type: 'regression',
2020
rte: rte.standalone

0 commit comments

Comments
 (0)