Store embed titles and search them

This commit is contained in:
Fisto
2026-09-17 13:10:16 +02:00
parent c6caa168be
commit 557ba5ca7e
13 changed files with 200 additions and 10 deletions
+9
View File
@@ -125,6 +125,15 @@ try {
await page.getByRole("button", { name: "Advanced search" }).click();
await page.waitForSelector(".vk-media-drawer:not([hidden])", { timeout: 5000 });
check(
"title search field present",
(await page.locator('.vk-media-drawer input[type="text"]').count()) >= 1
);
check(
"exact-match toggle present",
(await page.locator(".vk-media-drawer .vk-media-check", { hasText: "Exact match" }).count()) === 1
);
const sourceBoxes = await page
.locator(".vk-media-exclude-group")
.first()