Move common filters to the bar and keep the drawer for advanced ones

This commit is contained in:
Fisto
2026-09-17 08:22:32 +02:00
parent f5f3196382
commit 42b4bfd231
5 changed files with 134 additions and 129 deletions
+4 -3
View File
@@ -85,11 +85,12 @@ try {
step("broken images", broken);
check("no broken images", broken === 0, broken);
await page.getByRole("button", { name: /^People/ }).click();
step("people checkboxes", await page.locator(".vk-media-people input").count());
await page.getByRole("button", { name: /^People/ }).click();
await page.getByRole("button", { name: "Advanced search" }).click();
await page.waitForSelector(".vk-media-drawer:not([hidden])", { timeout: 5000 });
step("people checkboxes", await page.locator(".vk-media-people input").count());
await page.locator(".vk-media-advanced summary").click();
await page.locator(".vk-media-check", { hasText: "Show only cached previews" }).locator("input").check();
await page.getByRole("button", { name: "Apply filters" }).click();
await page.waitForTimeout(2500);