Tests: Update acceptance tests
This commit is contained in:
parent
506bb82824
commit
0a9f6a72bc
2 changed files with 8 additions and 3 deletions
|
@ -61,8 +61,13 @@ export default class Page {
|
|||
|
||||
async triggerHoverAction(mode, uidOrNth, action) {
|
||||
if (mode === "uid") {
|
||||
await t.hover(Selector("a.uid-" + uidOrNth));
|
||||
await t.click(Selector("a.uid-" + uidOrNth + " .input-" + action));
|
||||
if (action === "share") {
|
||||
await t.hover(Selector("a.uid-" + uidOrNth));
|
||||
await t.click(Selector("a.uid-" + uidOrNth + " .action-" + action));
|
||||
} else {
|
||||
await t.hover(Selector("a.uid-" + uidOrNth));
|
||||
await t.click(Selector("a.uid-" + uidOrNth + " .input-" + action));
|
||||
}
|
||||
}
|
||||
if (mode === "nth") {
|
||||
await t.hover(Selector("a.is-album").nth(uidOrNth));
|
||||
|
|
|
@ -31,7 +31,7 @@ export default class Page {
|
|||
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.disableplacesCheckbox = Selector("label").withText("Disable Places");
|
||||
this.tensorflowCheckbox = Selector("label").withText("Disable TensorFlow");
|
||||
this.readOnlyCheckbox = Selector("label").withText("Read-Only Mode");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue