Run the title catch-up in its own YouTube lane
This commit is contained in:
@@ -202,6 +202,12 @@ try {
|
||||
check("media toolbar hidden on the bot tab", !(await page.locator("#media-toolbar").isVisible()));
|
||||
check("media filter drawer hidden on the bot tab", !(await page.locator(".vk-media-drawer").isVisible()));
|
||||
|
||||
await page.waitForFunction(
|
||||
() => document.querySelector("#title-lane")?.textContent?.includes("Titles (YouTube)"),
|
||||
{ timeout: 15000 }
|
||||
);
|
||||
check("title lane card renders", (await page.locator("#title-lane .vk-bot-job-head").count()) === 1);
|
||||
|
||||
const summaryLines = await page.locator(".vk-bot-summary-line").count();
|
||||
step("backfill summary lines", summaryLines);
|
||||
check("backfill summary renders", summaryLines >= 3, summaryLines);
|
||||
|
||||
Reference in New Issue
Block a user