Skip to content

ci: add app name to github workflow #6

ci: add app name to github workflow

ci: add app name to github workflow #6

Triggered via push December 12, 2024 14:02
Status Failure
Total duration 5m 36s
Artifacts 1

validate.yml

on: push
Check changed files
3s
Check changed files
Matrix: Validate
Build and deploy  /  Generate environment variables
Build and deploy / Generate environment variables
Build and deploy  /  Generate public url
Build and deploy / Generate public url
Build and deploy  /  Build and push docker image
Build and deploy / Build and push docker image
Build and deploy  /  ...  /  deploy
Build and deploy / Deploy docker image / deploy
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
Validate (22.x, ubuntu-22.04)
Testing stopped early after 10 maximum allowed failures.
[chromium] › tests/app/app.test.ts:41:2 › app › should serve a sitemap.xml: 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
[chromium] › tests/app/app.test.ts:41:2 › app › should serve a sitemap.xml: 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
[chromium] › tests/app/app.test.ts:41:2 › app › should serve a sitemap.xml: 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
[chromium] › tests/app/metadata.test.ts:113:1 › should serve an open-graph image: 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
[chromium] › tests/app/metadata.test.ts:113:1 › should serve an open-graph image: 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
[chromium] › tests/app/metadata.test.ts:113:1 › should serve an open-graph image: 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
[chromium] › tests/pages/imprint.test.ts:46:3 › imprint page › should not have visible changes › in light mode: 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
[chromium] › tests/pages/imprint.test.ts:46:3 › imprint page › should not have visible changes › in light mode: 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
[chromium] › tests/pages/imprint.test.ts:46:3 › imprint page › should not have visible changes › in light mode: 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
Check changed files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
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.6m)

Artifacts

Produced during runtime
Name Size
playwright-report
6.43 MB