fix: reduce landing to existing documents and their tree
Reference site / build (push) Canceled after 0s

This commit is contained in:
2026-10-13 19:06:31 +09:00
parent 822272cad3
commit 6e9e675c70
16 changed files with 479 additions and 1348 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ test('home and book are usable without client JavaScript', async ({ page }, test
const failures: string[] = [];
page.on('response', (response) => { if (response.status() >= 400) failures.push(response.url()); });
await page.goto('./');
await expect(page.getByRole('heading', { level: 1 })).toContainText('探索できる世界へ');
await expect(page.locator('[data-selected-content] h1')).toHaveText('1. コンセプト');
expect(await page.evaluate(() => document.documentElement.scrollWidth <= window.innerWidth)).toBe(true);
await expect(page.locator('.branch-prefix').first()).toHaveAttribute('data-prefix', '├── ');
const root = await page.locator('.root-mark').boundingBox();