feat: full set of styled pages #7
validate.yml
on: push
build-deploy
/
Generate environment variables
0s
Matrix: Validate
build-deploy
/
...
/
deploy
1m 30s
Annotations
10 errors, 1 warning, and 1 notice
Validate (20.x, ubuntu-latest)
Testing stopped early after 10 maximum allowed failures.
|
[chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes:
e2e/tests/pages/imprint.test.ts#L48
1) [chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes
Error: Screenshot comparison failed:
42659 pixels (ratio 0.05 of all image pixels) are different.
Expected: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/snapshots/tests/pages/imprint.test.ts-snapshots/imprint-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-imprint-imprin-617b3-ld-not-have-visible-changes-chromium/imprint-page-should-not-have-visible-changes-1-actual.png
Diff: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-imprint-imprin-617b3-ld-not-have-visible-changes-chromium/imprint-page-should-not-have-visible-changes-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
- 42659 pixels (ratio 0.05 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
- captured a stable screenshot
- 42659 pixels (ratio 0.05 of all image pixels) are different.
46 | await imprintPage.goto();
47 |
> 48 | await expect(imprintPage.page).toHaveScreenshot();
| ^
49 | }
50 | });
51 | });
at /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/tests/pages/imprint.test.ts:48:35
|
[chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes:
e2e/tests/pages/imprint.test.ts#L48
1) [chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
42659 pixels (ratio 0.05 of all image pixels) are different.
Expected: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/snapshots/tests/pages/imprint.test.ts-snapshots/imprint-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-imprint-imprin-617b3-ld-not-have-visible-changes-chromium-retry1/imprint-page-should-not-have-visible-changes-1-actual.png
Diff: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-imprint-imprin-617b3-ld-not-have-visible-changes-chromium-retry1/imprint-page-should-not-have-visible-changes-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
- 42659 pixels (ratio 0.05 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
- captured a stable screenshot
- 42659 pixels (ratio 0.05 of all image pixels) are different.
46 | await imprintPage.goto();
47 |
> 48 | await expect(imprintPage.page).toHaveScreenshot();
| ^
49 | }
50 | });
51 | });
at /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/tests/pages/imprint.test.ts:48:35
|
[chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes:
e2e/tests/pages/imprint.test.ts#L48
1) [chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
42659 pixels (ratio 0.05 of all image pixels) are different.
Expected: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/snapshots/tests/pages/imprint.test.ts-snapshots/imprint-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-imprint-imprin-617b3-ld-not-have-visible-changes-chromium-retry2/imprint-page-should-not-have-visible-changes-1-actual.png
Diff: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-imprint-imprin-617b3-ld-not-have-visible-changes-chromium-retry2/imprint-page-should-not-have-visible-changes-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
- 42659 pixels (ratio 0.05 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
- captured a stable screenshot
- 42659 pixels (ratio 0.05 of all image pixels) are different.
46 | await imprintPage.goto();
47 |
> 48 | await expect(imprintPage.page).toHaveScreenshot();
| ^
49 | }
50 | });
51 | });
at /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/tests/pages/imprint.test.ts:48:35
|
[chromium] › tests/pages/index.test.ts:14:2 › index page › should not have any automatically detectable accessibility issues:
e2e/tests/pages/index.test.ts#L23
2) [chromium] › tests/pages/index.test.ts:14:2 › index page › should not have any automatically detectable accessibility issues
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure that the page, or at least one of its frames contains a level-one heading",
+ "help": "Page should contain a level-one heading",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/page-has-heading-one?application=axeAPI",
+ "id": "page-has-heading-one",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [
+ Object {
+ "data": null,
+ "id": "page-has-heading-one",
+ "impact": "moderate",
+ "message": "Page must have a level-one heading",
+ "relatedNodes": Array [],
+ },
+ ],
+ "any": Array [],
+ "failureSummary": "Fix all of the following:
+ Page must have a level-one heading",
+ "html": "<html lang=\"en\" data-ui-color-scheme=\"light\">",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "html",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
21 |
22 | const { getViolations } = await createAccessibilityScanner();
> 23 | expect(await getViolations()).toEqual([]);
| ^
24 | }
25 | });
26 |
at /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/tests/pages/index.test.ts:23:34
|
[chromium] › tests/pages/index.test.ts:14:2 › index page › should not have any automatically detectable accessibility issues:
e2e/tests/pages/index.test.ts#L23
2) [chromium] › tests/pages/index.test.ts:14:2 › index page › should not have any automatically detectable accessibility issues
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure that the page, or at least one of its frames contains a level-one heading",
+ "help": "Page should contain a level-one heading",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/page-has-heading-one?application=axeAPI",
+ "id": "page-has-heading-one",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [
+ Object {
+ "data": null,
+ "id": "page-has-heading-one",
+ "impact": "moderate",
+ "message": "Page must have a level-one heading",
+ "relatedNodes": Array [],
+ },
+ ],
+ "any": Array [],
+ "failureSummary": "Fix all of the following:
+ Page must have a level-one heading",
+ "html": "<html lang=\"en\" data-ui-color-scheme=\"light\">",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "html",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
21 |
22 | const { getViolations } = await createAccessibilityScanner();
> 23 | expect(await getViolations()).toEqual([]);
| ^
24 | }
25 | });
26 |
at /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/tests/pages/index.test.ts:23:34
|
[chromium] › tests/pages/index.test.ts:14:2 › index page › should not have any automatically detectable accessibility issues:
e2e/tests/pages/index.test.ts#L23
2) [chromium] › tests/pages/index.test.ts:14:2 › index page › should not have any automatically detectable accessibility issues
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure that the page, or at least one of its frames contains a level-one heading",
+ "help": "Page should contain a level-one heading",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/page-has-heading-one?application=axeAPI",
+ "id": "page-has-heading-one",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [
+ Object {
+ "data": null,
+ "id": "page-has-heading-one",
+ "impact": "moderate",
+ "message": "Page must have a level-one heading",
+ "relatedNodes": Array [],
+ },
+ ],
+ "any": Array [],
+ "failureSummary": "Fix all of the following:
+ Page must have a level-one heading",
+ "html": "<html lang=\"en\" data-ui-color-scheme=\"light\">",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "html",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
21 |
22 | const { getViolations } = await createAccessibilityScanner();
> 23 | expect(await getViolations()).toEqual([]);
| ^
24 | }
25 | });
26 |
at /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/tests/pages/index.test.ts:23:34
|
[chromium] › tests/pages/index.test.ts:27:2 › index page › should not have visible changes:
e2e/tests/pages/index.test.ts#L32
3) [chromium] › tests/pages/index.test.ts:27:2 › index page › should not have visible changes ────
Error: Screenshot comparison failed:
19174 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/snapshots/tests/pages/index.test.ts-snapshots/index-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-index-index-page-should-not-have-visible-changes-chromium/index-page-should-not-have-visible-changes-1-actual.png
Diff: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-index-index-page-should-not-have-visible-changes-chromium/index-page-should-not-have-visible-changes-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
- 19174 pixels (ratio 0.03 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
- captured a stable screenshot
- 19174 pixels (ratio 0.03 of all image pixels) are different.
30 | await indexPage.goto();
31 |
> 32 | await expect(indexPage.page).toHaveScreenshot();
| ^
33 | }
34 | });
35 | });
at /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/tests/pages/index.test.ts:32:33
|
[chromium] › tests/pages/index.test.ts:27:2 › index page › should not have visible changes:
e2e/tests/pages/index.test.ts#L32
3) [chromium] › tests/pages/index.test.ts:27:2 › index page › should not have visible changes ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
18340 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/snapshots/tests/pages/index.test.ts-snapshots/index-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-index-index-page-should-not-have-visible-changes-chromium-retry1/index-page-should-not-have-visible-changes-1-actual.png
Diff: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-index-index-page-should-not-have-visible-changes-chromium-retry1/index-page-should-not-have-visible-changes-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
- 18340 pixels (ratio 0.02 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
- captured a stable screenshot
- 18340 pixels (ratio 0.02 of all image pixels) are different.
30 | await indexPage.goto();
31 |
> 32 | await expect(indexPage.page).toHaveScreenshot();
| ^
33 | }
34 | });
35 | });
at /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/tests/pages/index.test.ts:32:33
|
[chromium] › tests/pages/index.test.ts:27:2 › index page › should not have visible changes:
e2e/tests/pages/index.test.ts#L32
3) [chromium] › tests/pages/index.test.ts:27:2 › index page › should not have visible changes ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
17954 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/snapshots/tests/pages/index.test.ts-snapshots/index-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-index-index-page-should-not-have-visible-changes-chromium-retry2/index-page-should-not-have-visible-changes-1-actual.png
Diff: /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/test-results/tests-pages-index-index-page-should-not-have-visible-changes-chromium-retry2/index-page-should-not-have-visible-changes-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
- 17954 pixels (ratio 0.02 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
- captured a stable screenshot
- 17954 pixels (ratio 0.02 of all image pixels) are different.
30 | await indexPage.goto();
31 |
> 32 | await expect(indexPage.page).toHaveScreenshot();
| ^
33 | }
34 | });
35 | });
at /home/runner/work/thomas-bernhard-global/thomas-bernhard-global/e2e/tests/pages/index.test.ts:32:33
|
Validate (20.x, ubuntu-latest)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
4 failed
[chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes ─
[chromium] › tests/pages/index.test.ts:14:2 › index page › should not have any automatically detectable accessibility issues
[chromium] › tests/pages/index.test.ts:27:2 › index page › should not have visible changes ─────
[firefox] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes ──
6 skipped
29 did not run
39 passed (31.1s)
|