Tests: Update page-models
This commit is contained in:
parent
f5381ea01b
commit
f9fda55d43
3 changed files with 17 additions and 0 deletions
|
@ -9,5 +9,8 @@ export default class Page {
|
||||||
this.importTab = Selector("#tab-library-import", { timeout: 15000 });
|
this.importTab = Selector("#tab-library-import", { timeout: 15000 });
|
||||||
this.indexTab = Selector("#tab-library-index", { timeout: 15000 });
|
this.indexTab = Selector("#tab-library-index", { timeout: 15000 });
|
||||||
this.logsTab = Selector("#tab-library-logs", { timeout: 15000 });
|
this.logsTab = Selector("#tab-library-logs", { timeout: 15000 });
|
||||||
|
this.moveCheckbox = Selector("label").withText("Move Files");
|
||||||
|
this.completeRescanCheckbox = Selector("label").withText("Complete Rescan");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,5 +21,18 @@ export default class Page {
|
||||||
|
|
||||||
this.libraryTab = Selector("#tab-settings-library");
|
this.libraryTab = Selector("#tab-settings-library");
|
||||||
this.reviewCheckbox = Selector(".input-review input");
|
this.reviewCheckbox = Selector(".input-review input");
|
||||||
|
this.convertCheckbox = Selector(".input-convert input");
|
||||||
|
this.estimatesCheckbox = Selector(".input-estimates input");
|
||||||
|
this.dateTimeStacksCheckbox = Selector(".input-stack-meta input");
|
||||||
|
this.uuidStacksCheckbox = Selector(".input-stack-uuid input");
|
||||||
|
this.nameStacksCheckbox = Selector(".input-stack-name input");
|
||||||
|
|
||||||
|
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");
|
||||||
|
this.placesCheckbox = Selector("label").withText("Disable Places");
|
||||||
|
this.tensorflowCheckbox = Selector("label").withText("Disable TensorFlow");
|
||||||
|
this.readOnlyCheckbox = Selector("label").withText("Read-Only Mode");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@ export default class Page {
|
||||||
this.recognizedTab = Selector("#tab-people > a", { timeout: 15000 });
|
this.recognizedTab = Selector("#tab-people > a", { timeout: 15000 });
|
||||||
this.newTab = Selector("#tab-people_faces > a", { timeout: 15000 });
|
this.newTab = Selector("#tab-people_faces > a", { timeout: 15000 });
|
||||||
this.showAllNewButton = Selector('a[href="/all?q=face%3Anew"]');
|
this.showAllNewButton = Selector('a[href="/all?q=face%3Anew"]');
|
||||||
|
this.subjectName = Selector("a.is-subject div.v-card__title");
|
||||||
}
|
}
|
||||||
|
|
||||||
async addNameToFace(id, name) {
|
async addNameToFace(id, name) {
|
||||||
|
|
Loading…
Reference in a new issue