Tests: Add acceptance test #272
This commit is contained in:
parent
b32e3cd244
commit
26ad621bd5
1 changed files with 3 additions and 0 deletions
|
@ -30,12 +30,15 @@ test.meta("testID", "settings-general-001").meta({ type: "short", mode: "auth" }
|
|||
"Common: Disable delete",
|
||||
async (t) => {
|
||||
await menu.openPage("archive");
|
||||
await toolbar.checkToolbarActionAvailability("delete", true);
|
||||
await photo.triggerHoverAction("nth", 0, "select");
|
||||
await contextmenu.checkContextMenuActionAvailability("delete", true);
|
||||
await contextmenu.clearSelection();
|
||||
await menu.openPage("settings");
|
||||
await t.click(settings.deleteCheckbox);
|
||||
await menu.openPage("archive");
|
||||
await toolbar.checkToolbarActionAvailability("delete", false);
|
||||
|
||||
await photo.triggerHoverAction("nth", 0, "select");
|
||||
|
||||
await contextmenu.checkContextMenuActionAvailability("restore", true);
|
||||
|
|
Loading…
Reference in a new issue