content: fix broken link #84
Annotations
10 errors, 2 warnings, and 1 notice
|
e2e/tests/app/i18n.test.ts#L38
1) [chromium] › tests/app/i18n.test.ts:35:2 › i18n › should display not-found page for unknown locale
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Page not found' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Page not found' })
36 | const response = await page.goto("/unknown");
37 | expect(response?.status()).toBe(404);
> 38 | await expect(page.getByRole("heading", { name: "Page not found" })).toBeVisible();
| ^
39 | });
40 |
41 | test("should display localised not-found page for unknown pathname", async ({ page }) => {
at /home/runner/work/howto/howto/e2e/tests/app/i18n.test.ts:38:71
|
e2e/tests/app/i18n.test.ts#L38
1) [chromium] › tests/app/i18n.test.ts:35:2 › i18n › should display not-found page for unknown locale
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Page not found' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Page not found' })
36 | const response = await page.goto("/unknown");
37 | expect(response?.status()).toBe(404);
> 38 | await expect(page.getByRole("heading", { name: "Page not found" })).toBeVisible();
| ^
39 | });
40 |
41 | test("should display localised not-found page for unknown pathname", async ({ page }) => {
at /home/runner/work/howto/howto/e2e/tests/app/i18n.test.ts:38:71
|
e2e/tests/app/i18n.test.ts#L38
1) [chromium] › tests/app/i18n.test.ts:35:2 › i18n › should display not-found page for unknown locale
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Page not found' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Page not found' })
36 | const response = await page.goto("/unknown");
37 | expect(response?.status()).toBe(404);
> 38 | await expect(page.getByRole("heading", { name: "Page not found" })).toBeVisible();
| ^
39 | });
40 |
41 | test("should display localised not-found page for unknown pathname", async ({ page }) => {
at /home/runner/work/howto/howto/e2e/tests/app/i18n.test.ts:38:71
|
e2e/tests/app/i18n.test.ts#L65
2) [chromium] › tests/app/i18n.test.ts:41:2 › i18n › should display localised not-found page for unknown pathname
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Seite nicht gefunden' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Seite nicht gefunden' })
63 | expect(response?.status()).toBe(200);
64 | // expect(response?.status()).toBe(404);
> 65 | await expect(page.getByRole("heading", { name: "Seite nicht gefunden" })).toBeVisible();
| ^
66 | });
67 |
68 | test("should support switching locale", async ({ page }) => {
at /home/runner/work/howto/howto/e2e/tests/app/i18n.test.ts:65:77
|
e2e/tests/app/i18n.test.ts#L65
2) [chromium] › tests/app/i18n.test.ts:41:2 › i18n › should display localised not-found page for unknown pathname
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Seite nicht gefunden' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Seite nicht gefunden' })
63 | expect(response?.status()).toBe(200);
64 | // expect(response?.status()).toBe(404);
> 65 | await expect(page.getByRole("heading", { name: "Seite nicht gefunden" })).toBeVisible();
| ^
66 | });
67 |
68 | test("should support switching locale", async ({ page }) => {
at /home/runner/work/howto/howto/e2e/tests/app/i18n.test.ts:65:77
|
e2e/tests/app/i18n.test.ts#L65
2) [chromium] › tests/app/i18n.test.ts:41:2 › i18n › should display localised not-found page for unknown pathname
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Seite nicht gefunden' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Seite nicht gefunden' })
63 | expect(response?.status()).toBe(200);
64 | // expect(response?.status()).toBe(404);
> 65 | await expect(page.getByRole("heading", { name: "Seite nicht gefunden" })).toBeVisible();
| ^
66 | });
67 |
68 | test("should support switching locale", async ({ page }) => {
at /home/runner/work/howto/howto/e2e/tests/app/i18n.test.ts:65:77
|
e2e/tests/pages/imprint.test.ts#L39
3) [chromium] › tests/pages/imprint.test.ts:30:2 › imprint page › should not have any automatically detectable accessibility issues
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 37
- Array []
+ Array [
+ Object {
+ "description": "Ensures all page content is contained by landmarks",
+ "help": "All page content should be contained by landmarks",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/region?application=axeAPI",
+ "id": "region",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "isIframe": false,
+ },
+ "id": "region",
+ "impact": "moderate",
+ "message": "Some page content is not contained by landmarks",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Some page content is not contained by landmarks",
+ "html": "<a class=\"rounded fixed z-50 -translate-y-full bg-neutral-0 px-4 py-3 text-neutral-700 transition focus:translate-y-0 dark:bg-neutral-900 dark:text-neutral-300\" href=\"/de#main-content\">Zum Hauptinhalt springen</a>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ ".rounded",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.keyboard",
+ "best-practice",
+ ],
+ },
+ ]
37 |
38 | const { getViolations } = await createAccessibilityScanner();
> 39 | expect(await getViolations()).toEqual([]);
| ^
40 | }
41 | });
42 |
at /home/runner/work/howto/howto/e2e/tests/pages/imprint.test.ts:39:34
|
e2e/tests/pages/imprint.test.ts#L39
3) [chromium] › tests/pages/imprint.test.ts:30:2 › imprint page › should not have any automatically detectable accessibility issues
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 37
- Array []
+ Array [
+ Object {
+ "description": "Ensures all page content is contained by landmarks",
+ "help": "All page content should be contained by landmarks",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/region?application=axeAPI",
+ "id": "region",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "isIframe": false,
+ },
+ "id": "region",
+ "impact": "moderate",
+ "message": "Some page content is not contained by landmarks",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Some page content is not contained by landmarks",
+ "html": "<a class=\"rounded fixed z-50 -translate-y-full bg-neutral-0 px-4 py-3 text-neutral-700 transition focus:translate-y-0 dark:bg-neutral-900 dark:text-neutral-300\" href=\"/de#main-content\">Zum Hauptinhalt springen</a>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ ".rounded",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.keyboard",
+ "best-practice",
+ ],
+ },
+ ]
37 |
38 | const { getViolations } = await createAccessibilityScanner();
> 39 | expect(await getViolations()).toEqual([]);
| ^
40 | }
41 | });
42 |
at /home/runner/work/howto/howto/e2e/tests/pages/imprint.test.ts:39:34
|
e2e/tests/pages/imprint.test.ts#L39
3) [chromium] › tests/pages/imprint.test.ts:30:2 › imprint page › should not have any automatically detectable accessibility issues
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 37
- Array []
+ Array [
+ Object {
+ "description": "Ensures all page content is contained by landmarks",
+ "help": "All page content should be contained by landmarks",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/region?application=axeAPI",
+ "id": "region",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "isIframe": false,
+ },
+ "id": "region",
+ "impact": "moderate",
+ "message": "Some page content is not contained by landmarks",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Some page content is not contained by landmarks",
+ "html": "<a class=\"rounded fixed z-50 -translate-y-full bg-neutral-0 px-4 py-3 text-neutral-700 transition focus:translate-y-0 dark:bg-neutral-900 dark:text-neutral-300\" href=\"/de#main-content\">Zum Hauptinhalt springen</a>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ ".rounded",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.keyboard",
+ "best-practice",
+ ],
+ },
+ ]
37 |
38 | const { getViolations } = await createAccessibilityScanner();
> 39 | expect(await getViolations()).toEqual([]);
| ^
40 | }
41 | });
42 |
at /home/runner/work/howto/howto/e2e/tests/pages/imprint.test.ts:39:34
|
components/ui/blocks/card.tsx#L27
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
4 failed
[chromium] › tests/app/i18n.test.ts:35:2 › i18n › should display not-found page for unknown locale
[chromium] › tests/app/i18n.test.ts:41:2 › i18n › should display localised not-found page for unknown pathname
[chromium] › tests/pages/imprint.test.ts:30:2 › imprint page › should not have any automatically detectable accessibility issues
[chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes ─
3 skipped
3 did not run
26 passed (53.9s)
|
This job failed
Loading