Tests: Update selectors in page model

This commit is contained in:
theresa 2022-10-18 17:55:28 +02:00
parent 067d7b0b79
commit 85722d392f
2 changed files with 8 additions and 7 deletions

View file

@ -6,9 +6,9 @@ export default class Page {
this.import = Selector(".action-import");
this.indexFolderSelect = Selector(".input-index-folder input", { timeout: 15000 });
this.index = Selector(".action-index");
this.importTab = Selector("#tab-library-import", { timeout: 15000 });
this.indexTab = Selector("#tab-library-index", { timeout: 15000 });
this.logsTab = Selector("#tab-library-logs", { timeout: 15000 });
this.importTab = Selector("#tab-library_import", { timeout: 15000 });
this.indexTab = Selector("#tab-library_index", { timeout: 15000 });
this.logsTab = Selector("#tab-library_logs", { timeout: 15000 });
this.moveCheckbox = Selector("label").withText("Move Files");
this.completeRescanCheckbox = Selector("label").withText("Complete Rescan");

View file

@ -13,13 +13,13 @@ export default class Page {
this.labelsCheckbox = Selector(".input-labels input");
this.logsCheckbox = Selector(".input-logs input");
this.shareCheckbox = Selector(".input-share input");
this.placesCheckbox = Selector(".input-places input");
this.placesCheckbox = Selector('input[aria-label="Places"]');
this.privateCheckbox = Selector('input[aria-label="Private"]');
this.peopleCheckbox = Selector(".input-people input");
this.deleteCheckbox = Selector(".input-delete input");
this.libraryCheckbox = Selector(".input-library input");
this.libraryTab = Selector("#tab-settings-library");
this.libraryTab = Selector("#tab-settings_media");
this.reviewCheckbox = Selector(".input-review input");
this.convertCheckbox = Selector(".input-convert input");
this.estimatesCheckbox = Selector(".input-estimates input");
@ -27,7 +27,7 @@ export default class Page {
this.uuidStacksCheckbox = Selector(".input-stack-uuid input");
this.nameStacksCheckbox = Selector(".input-stack-name input");
this.advancedTab = Selector("#tab-settings-advanced");
this.advancedTab = Selector("#tab-settings_advanced");
this.debugCheckbox = Selector("label").withText("Debug Logs");
this.backupCheckbox = Selector("label").withText("Disable Backups");
this.exiftoolCheckbox = Selector("label").withText("Disable ExifTool");
@ -35,6 +35,7 @@ export default class Page {
this.tensorflowCheckbox = Selector("label").withText("Disable TensorFlow");
this.readOnlyCheckbox = Selector("label").withText("Read-Only Mode");
this.accountTab = Selector("#tab-settings-account");
this.accountTab = Selector("#tab-settings_account");
this.changePasswordAction = Selector("button.action-change-password");
}
}