Tests: Add acceptance test
This commit is contained in:
parent
71986e1565
commit
dbcaf775a8
1 changed files with 14 additions and 0 deletions
|
@ -533,3 +533,17 @@ test.meta("testID", "photos-archive-private-004").meta({ type: "short", mode: "p
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
test.meta("testID", "photos-archive-private-005").meta({ type: "short", mode: "public" })(
|
||||||
|
"Common: Check delete all dialog",
|
||||||
|
async (t) => {
|
||||||
|
await menu.openPage("archive");
|
||||||
|
await toolbar.triggerToolbarAction("sweep");
|
||||||
|
await t
|
||||||
|
.expect(
|
||||||
|
Selector("div").withText("Are you sure you want to delete all archived pictures?").visible
|
||||||
|
)
|
||||||
|
.ok();
|
||||||
|
await t.click(Selector("button.action-cancel"));
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
Loading…
Reference in a new issue