content: provide metadata #7
Annotations
10 errors and 1 notice
Run e2e tests
Testing stopped early after 10 maximum allowed failures.
|
Run e2e tests:
e2e/tests/app/app.test.ts#L62
1) [chromium] › tests/app/app.test.ts:41:2 › app › should serve a sitemap.xml ────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "<loc>http://localhost:3000/de/</loc>"
Received string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
</urlset>
"
60 | );
61 |
> 62 | expect(body.toString()).toContain(`<loc>${loc}</loc>`);
| ^
63 | }
64 | }
65 | });
at /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/tests/app/app.test.ts:62:29
|
Run e2e tests:
e2e/tests/app/app.test.ts#L62
1) [chromium] › tests/app/app.test.ts:41:2 › app › should serve a sitemap.xml ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "<loc>http://localhost:3000/de/</loc>"
Received string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
</urlset>
"
60 | );
61 |
> 62 | expect(body.toString()).toContain(`<loc>${loc}</loc>`);
| ^
63 | }
64 | }
65 | });
at /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/tests/app/app.test.ts:62:29
|
Run e2e tests:
e2e/tests/app/app.test.ts#L62
1) [chromium] › tests/app/app.test.ts:41:2 › app › should serve a sitemap.xml ────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "<loc>http://localhost:3000/de/</loc>"
Received string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
</urlset>
"
60 | );
61 |
> 62 | expect(body.toString()).toContain(`<loc>${loc}</loc>`);
| ^
63 | }
64 | }
65 | });
at /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/tests/app/app.test.ts:62:29
|
Run e2e tests:
e2e/tests/app/metadata.test.ts#L131
2) [chromium] › tests/app/metadata.test.ts:113:1 › should serve an open-graph image ──────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "image/png"
Received: "text/html; charset=utf-8"
129 |
130 | expect(status).toBe(200);
> 131 | expect(contentType).toBe("image/png");
| ^
132 | }
133 | });
134 |
at /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/tests/app/metadata.test.ts:131:23
|
Run e2e tests:
e2e/tests/app/metadata.test.ts#L131
2) [chromium] › tests/app/metadata.test.ts:113:1 › should serve an open-graph image ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "image/png"
Received: "text/html; charset=utf-8"
129 |
130 | expect(status).toBe(200);
> 131 | expect(contentType).toBe("image/png");
| ^
132 | }
133 | });
134 |
at /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/tests/app/metadata.test.ts:131:23
|
Run e2e tests:
e2e/tests/app/metadata.test.ts#L131
2) [chromium] › tests/app/metadata.test.ts:113:1 › should serve an open-graph image ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "image/png"
Received: "text/html; charset=utf-8"
129 |
130 | expect(status).toBe(200);
> 131 | expect(contentType).toBe("image/png");
| ^
132 | }
133 | });
134 |
at /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/tests/app/metadata.test.ts:131:23
|
Run e2e tests:
e2e/tests/pages/imprint.test.ts#L51
3) [chromium] › tests/pages/imprint.test.ts:46:3 › imprint page › should not have visible changes › in light mode
Error: expect(page).toHaveScreenshot(expected)
4863 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/snapshots/tests/pages/imprint.test.ts-snapshots/imprint-page-should-not-have-visible-changes-in-light-mode-1-chromium-linux.png
Received: /home/runner/work/clariah-at-platform/clariah-at-platform/test-results/tests-pages-imprint-imprin-33a31-sible-changes-in-light-mode-chromium/imprint-page-should-not-have-visible-changes-in-light-mode-1-actual.png
Diff: /home/runner/work/clariah-at-platform/clariah-at-platform/test-results/tests-pages-imprint-imprin-33a31-sible-changes-in-light-mode-chromium/imprint-page-should-not-have-visible-changes-in-light-mode-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 4911 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 48 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 4863 pixels (ratio 0.01 of all image pixels) are different.
49 | await imprintPage.goto();
50 |
> 51 | await expect(imprintPage.page).toHaveScreenshot();
| ^
52 | }
53 | });
54 | });
at /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/tests/pages/imprint.test.ts:51:36
|
Run e2e tests:
e2e/tests/pages/imprint.test.ts#L51
3) [chromium] › tests/pages/imprint.test.ts:46:3 › imprint page › should not have visible changes › in light mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
4863 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/snapshots/tests/pages/imprint.test.ts-snapshots/imprint-page-should-not-have-visible-changes-in-light-mode-1-chromium-linux.png
Received: /home/runner/work/clariah-at-platform/clariah-at-platform/test-results/tests-pages-imprint-imprin-33a31-sible-changes-in-light-mode-chromium-retry1/imprint-page-should-not-have-visible-changes-in-light-mode-1-actual.png
Diff: /home/runner/work/clariah-at-platform/clariah-at-platform/test-results/tests-pages-imprint-imprin-33a31-sible-changes-in-light-mode-chromium-retry1/imprint-page-should-not-have-visible-changes-in-light-mode-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 4911 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 48 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 4863 pixels (ratio 0.01 of all image pixels) are different.
49 | await imprintPage.goto();
50 |
> 51 | await expect(imprintPage.page).toHaveScreenshot();
| ^
52 | }
53 | });
54 | });
at /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/tests/pages/imprint.test.ts:51:36
|
Run e2e tests:
e2e/tests/pages/imprint.test.ts#L51
3) [chromium] › tests/pages/imprint.test.ts:46:3 › imprint page › should not have visible changes › in light mode
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
4863 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/snapshots/tests/pages/imprint.test.ts-snapshots/imprint-page-should-not-have-visible-changes-in-light-mode-1-chromium-linux.png
Received: /home/runner/work/clariah-at-platform/clariah-at-platform/test-results/tests-pages-imprint-imprin-33a31-sible-changes-in-light-mode-chromium-retry2/imprint-page-should-not-have-visible-changes-in-light-mode-1-actual.png
Diff: /home/runner/work/clariah-at-platform/clariah-at-platform/test-results/tests-pages-imprint-imprin-33a31-sible-changes-in-light-mode-chromium-retry2/imprint-page-should-not-have-visible-changes-in-light-mode-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 4911 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 48 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 4863 pixels (ratio 0.01 of all image pixels) are different.
49 | await imprintPage.goto();
50 |
> 51 | await expect(imprintPage.page).toHaveScreenshot();
| ^
52 | }
53 | });
54 | });
at /home/runner/work/clariah-at-platform/clariah-at-platform/e2e/tests/pages/imprint.test.ts:51:36
|
Run e2e tests
10 failed
[chromium] › tests/app/app.test.ts:41:2 › app › should serve a sitemap.xml ─────────────────────
[chromium] › tests/app/metadata.test.ts:113:1 › should serve an open-graph image ───────────────
[chromium] › tests/pages/imprint.test.ts:46:3 › imprint page › should not have visible changes › in light mode
[chromium] › tests/pages/imprint.test.ts:59:3 › imprint page › should not have visible changes › in dark mode
[firefox] › tests/app/app.test.ts:41:2 › app › should serve a sitemap.xml ──────────────────────
[firefox] › tests/app/metadata.test.ts:113:1 › should serve an open-graph image ────────────────
[firefox] › tests/pages/imprint.test.ts:46:3 › imprint page › should not have visible changes › in light mode
[firefox] › tests/pages/imprint.test.ts:59:3 › imprint page › should not have visible changes › in dark mode
[webkit] › tests/app/app.test.ts:41:2 › app › should serve a sitemap.xml ───────────────────────
[webkit] › tests/app/metadata.test.ts:113:1 › should serve an open-graph image ─────────────────
13 skipped
9 did not run
76 passed (2.3m)
|
Loading