Tests: Adapt acceptance test #3701

This commit is contained in:
graciousgrey 2023-09-07 15:20:17 +02:00
parent d575807929
commit 3c141ddf20

View file

@ -30,14 +30,14 @@ 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 toolbar.checkToolbarActionAvailability("sweep", 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 toolbar.checkToolbarActionAvailability("sweep", false);
await photo.triggerHoverAction("nth", 0, "select");