Fix bad links and link checker errors #2324
Open
Annotations
6 errors and 1 notice
|
Run Playwright tests
Process completed with exit code 1.
|
|
Run Playwright tests:
tests/e2e/homepage.spec.ts#L177
1) [chromium] › tests/e2e/homepage.spec.ts:174:5 › Homepage Content › should switch to 日本語 successfully
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Select language' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Select language' })
175 | // 1. Find language switcher button (using translated aria-label)
176 | const langSwitcher = page.getByRole('button', { name: enStrings.language.selectLabel });
> 177 | await expect(langSwitcher).toBeVisible();
| ^
178 |
179 | // 2. Click to open dropdown
180 | await langSwitcher.click();
at /home/runner/work/expressjs.com/expressjs.com/tests/e2e/homepage.spec.ts:177:34
|
|
Run Playwright tests:
tests/e2e/homepage.spec.ts#L88
1) [chromium] › tests/e2e/homepage.spec.ts:174:5 › Homepage Content › should switch to 日本語 successfully
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "https://deploy-preview-2324--expressjscom-preview.netlify.app/en", waiting until "load"
86 |
87 | test.beforeEach(async ({ page }) => {
> 88 | await page.goto('/en');
| ^
89 | });
90 |
91 | // testing hero component
at /home/runner/work/expressjs.com/expressjs.com/tests/e2e/homepage.spec.ts:88:16
|
|
Run Playwright tests:
tests/e2e/homepage.spec.ts#L87
1) [chromium] › tests/e2e/homepage.spec.ts:174:5 › Homepage Content › should switch to 日本語 successfully
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
85 | });
86 |
> 87 | test.beforeEach(async ({ page }) => {
| ^
88 | await page.goto('/en');
89 | });
90 |
at /home/runner/work/expressjs.com/expressjs.com/tests/e2e/homepage.spec.ts:87:8
|
|
Run Playwright tests:
tests/e2e/homepage.spec.ts#L188
1) [chromium] › tests/e2e/homepage.spec.ts:174:5 › Homepage Content › should switch to 日本語 successfully
Error: expect.toHaveURL: Target page, context or browser has been closed
186 |
187 | // 4. Verify URL change (handling potential trailing slashes or other path parts)
> 188 | await expect(page).toHaveURL(new RegExp(`/${lang.code}`));
| ^
189 |
190 | // 5. Verify tagline is correctly translated
191 | const tagline = page.getByRole('heading', { level: 1 });
at /home/runner/work/expressjs.com/expressjs.com/tests/e2e/homepage.spec.ts:188:26
|
|
Run Playwright tests:
tests/e2e/homepage.spec.ts#L0
1) [chromium] › tests/e2e/homepage.spec.ts:174:5 › Homepage Content › should switch to 日本語 successfully
Test timeout of 30000ms exceeded.
|
|
Run Playwright tests
1 failed
[chromium] › tests/e2e/homepage.spec.ts:174:5 › Homepage Content › should switch to 日本語 successfully
47 passed (3.5m)
|
background
wait
wait-all
cancel
Loading