fix(a11y): make mobile nav always in DOM so Playwright getByRole find… #125
Annotations
3 errors, 2 warnings, and 1 notice
|
a11y
Process completed with exit code 1.
|
|
[chromium] › e2e/a11y.spec.ts:51:5 › @a11y Home mobile nav menu is keyboard operable:
e2e/a11y.spec.ts#L62
1) [chromium] › e2e/a11y.spec.ts:51:5 › @a11y Home mobile nav menu is keyboard operable ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByRole('navigation', { name: /mobile navigation/i })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByRole('navigation', { name: /mobile navigation/i })
60 | await expect(menuButton).toBeFocused();
61 | await page.keyboard.press('Enter');
> 62 | await expect(page.getByRole('navigation', { name: /mobile navigation/i })).toBeVisible();
| ^
63 |
64 | const results = await runAxe(page);
65 | const seriousOrCritical = results.violations.filter(
at /home/runner/work/split-app/split-app/e2e/a11y.spec.ts:62:78
|
|
[chromium] › e2e/a11y.spec.ts:51:5 › @a11y Home mobile nav menu is keyboard operable:
e2e/a11y.spec.ts#L62
1) [chromium] › e2e/a11y.spec.ts:51:5 › @a11y Home mobile nav menu is keyboard operable ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByRole('navigation', { name: /mobile navigation/i })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByRole('navigation', { name: /mobile navigation/i })
60 | await expect(menuButton).toBeFocused();
61 | await page.keyboard.press('Enter');
> 62 | await expect(page.getByRole('navigation', { name: /mobile navigation/i })).toBeVisible();
| ^
63 |
64 | const results = await runAxe(page);
65 | const seriousOrCritical = results.violations.filter(
at /home/runner/work/split-app/split-app/e2e/a11y.spec.ts:62:78
|
|
a11y
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
a11y
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › e2e/a11y.spec.ts:51:5 › @a11y Home mobile nav menu is keyboard operable ───────────
7 passed (1.1m)
|