From 26550166eaf244bd664454d7c2f7d00cdf8d6f1b Mon Sep 17 00:00:00 2001 From: leemour Date: Wed, 18 Nov 2026 15:58:58 +0100 Subject: [PATCH] test(docs): room for the ydisk section in the command page's element count Deploy run 44325598242 after #687/#688 failed in browser shard 1: ru/tg's commands page counted 3503 elements against 3500. The sidebar grew by the 13 ydisk pages; the command reference itself is unchanged. Same reason and fix as #473 (3000 to 3500). Co-Authored-By: Claude Opus 5.5 --- tests/command-reference.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/command-reference.spec.ts b/tests/command-reference.spec.ts index 16cfa919..c899f747 100644 --- a/tests/command-reference.spec.ts +++ b/tests/command-reference.spec.ts @@ -10,7 +10,7 @@ for (const lang of ["en", "ru", "es"]) await expect(page.locator("[data-command-index]")).toBeVisible() await expect(page.locator("main pre")).toHaveCount(1) await expect(page.locator("main pre")).toContainText(`${tool} [`) - expect(await page.evaluate(() => document.querySelectorAll("*").length)).toBeLessThan(3500) + expect(await page.evaluate(() => document.querySelectorAll("*").length)).toBeLessThan(4000) for (const group of ["personal", "bot", "admin", "setup"]) await expect( page.locator(`[data-command-index] a[href="/${lang}/docs/${tool}/commands-${group}"]`),