Add the picked providers and a Must include group
This commit is contained in:
@@ -136,6 +136,17 @@ try {
|
||||
sourceBoxes === providerFilters.length + 3,
|
||||
{ sourceBoxes, providers: providerFilters.length }
|
||||
);
|
||||
const includeSources = await page
|
||||
.locator(".vk-media-exclude-group")
|
||||
.nth(2)
|
||||
.locator(".vk-media-check")
|
||||
.count();
|
||||
step("must-include source checkboxes", includeSources);
|
||||
check(
|
||||
"must-include mirrors the provider list",
|
||||
includeSources === providerFilters.length + 3,
|
||||
{ includeSources, providers: providerFilters.length }
|
||||
);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user