refactor: align with acdh app template #8
validate.yml
on: pull_request
Annotations
7 errors, 11 warnings, and 1 notice
[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:
1184 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/snapshots/tests/pages/imprint.test.ts-snapshots/imprint-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/viecpro-nuxt/viecpro-nuxt/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/viecpro-nuxt/viecpro-nuxt/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
- 1184 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
- captured a stable screenshot
- 1184 pixels (ratio 0.01 of all image pixels) are different.
46 | await imprintPage.goto();
47 |
> 48 | await expect(imprintPage.page).toHaveScreenshot();
| ^
49 | }
50 | });
51 | });
at /home/runner/work/viecpro-nuxt/viecpro-nuxt/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:
1184 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/snapshots/tests/pages/imprint.test.ts-snapshots/imprint-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/viecpro-nuxt/viecpro-nuxt/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/viecpro-nuxt/viecpro-nuxt/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
- 1184 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
- captured a stable screenshot
- 1184 pixels (ratio 0.01 of all image pixels) are different.
46 | await imprintPage.goto();
47 |
> 48 | await expect(imprintPage.page).toHaveScreenshot();
| ^
49 | }
50 | });
51 | });
at /home/runner/work/viecpro-nuxt/viecpro-nuxt/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:
1184 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/snapshots/tests/pages/imprint.test.ts-snapshots/imprint-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/viecpro-nuxt/viecpro-nuxt/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/viecpro-nuxt/viecpro-nuxt/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
- 1184 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
- captured a stable screenshot
- 1184 pixels (ratio 0.01 of all image pixels) are different.
46 | await imprintPage.goto();
47 |
> 48 | await expect(imprintPage.page).toHaveScreenshot();
| ^
49 | }
50 | });
51 | });
at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/pages/imprint.test.ts:48:35
|
[chromium] › tests/pages/index.test.ts:29:2 › index page › should not have visible changes:
e2e/tests/pages/index.test.ts#L34
2) [chromium] › tests/pages/index.test.ts:29:2 › index page › should not have visible changes ────
Error: Screenshot comparison failed:
340 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/snapshots/tests/pages/index.test.ts-snapshots/index-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/viecpro-nuxt/viecpro-nuxt/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/viecpro-nuxt/viecpro-nuxt/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
- 143384 pixels (ratio 0.16 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
- 143044 pixels (ratio 0.16 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
- 340 pixels (ratio 0.01 of all image pixels) are different.
32 | await indexPage.goto();
33 |
> 34 | await expect(indexPage.page).toHaveScreenshot();
| ^
35 | }
36 | });
37 | });
at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/pages/index.test.ts:34:33
|
[chromium] › tests/pages/index.test.ts:29:2 › index page › should not have visible changes:
e2e/tests/pages/index.test.ts#L34
2) [chromium] › tests/pages/index.test.ts:29:2 › index page › should not have visible changes ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
340 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/snapshots/tests/pages/index.test.ts-snapshots/index-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/viecpro-nuxt/viecpro-nuxt/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/viecpro-nuxt/viecpro-nuxt/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
- 143384 pixels (ratio 0.16 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
- 143044 pixels (ratio 0.16 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
- 340 pixels (ratio 0.01 of all image pixels) are different.
32 | await indexPage.goto();
33 |
> 34 | await expect(indexPage.page).toHaveScreenshot();
| ^
35 | }
36 | });
37 | });
at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/pages/index.test.ts:34:33
|
[chromium] › tests/pages/index.test.ts:29:2 › index page › should not have visible changes:
e2e/tests/pages/index.test.ts#L34
2) [chromium] › tests/pages/index.test.ts:29:2 › index page › should not have visible changes ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
340 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/snapshots/tests/pages/index.test.ts-snapshots/index-page-should-not-have-visible-changes-1-chromium-linux.png
Received: /home/runner/work/viecpro-nuxt/viecpro-nuxt/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/viecpro-nuxt/viecpro-nuxt/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
- 143384 pixels (ratio 0.16 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
- 143044 pixels (ratio 0.16 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
- 340 pixels (ratio 0.01 of all image pixels) are different.
32 | await indexPage.goto();
33 |
> 34 | await expect(indexPage.page).toHaveScreenshot();
| ^
35 | }
36 | });
37 | });
at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/pages/index.test.ts:34:33
|
Validate (22.x, ubuntu-latest)
Process completed with exit code 1.
|
Validate (22.x, ubuntu-latest)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
Validate (22.x, ubuntu-latest):
app/components/generic-listbox.vue#L13
Prop "modelValue" should define at least its type
|
Validate (22.x, ubuntu-latest):
app/components/hierarchy-wrapper.vue#L76
'v-html' directive can lead to XSS attack
|
Validate (22.x, ubuntu-latest):
app/components/search-table.vue#L264
'v-html' directive can lead to XSS attack
|
Validate (22.x, ubuntu-latest):
app/pages/detail/courts/[id]/index.vue#L258
'v-html' directive can lead to XSS attack
|
Validate (22.x, ubuntu-latest):
app/pages/detail/courts/[id]/index.vue#L260
'v-html' directive can lead to XSS attack
|
Validate (22.x, ubuntu-latest):
app/pages/detail/institutions/[id]/index.vue#L256
'v-html' directive can lead to XSS attack
|
Validate (22.x, ubuntu-latest):
app/pages/detail/institutions/[id]/index.vue#L258
'v-html' directive can lead to XSS attack
|
Validate (22.x, ubuntu-latest):
app/pages/detail/persons/[id]/index.vue#L329
'v-html' directive can lead to XSS attack
|
Validate (22.x, ubuntu-latest):
app/pages/detail/persons/[id]/index.vue#L331
'v-html' directive can lead to XSS attack
|
Validate (22.x, ubuntu-latest):
app/pages/detail/places/[id]/index.vue#L228
'v-html' directive can lead to XSS attack
|
🎭 Playwright Run Summary
2 failed
[chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes ─
[chromium] › tests/pages/index.test.ts:29:2 › index page › should not have visible changes ─────
22 passed (27.6s)
|