Skip to content

refactor: align with acdh app template #6

refactor: align with acdh app template

refactor: align with acdh app template #6

Triggered via pull request October 16, 2024 06:58
@stefanprobststefanprobst
synchronize #162
update
Status Failure
Total duration 6m 37s
Artifacts

validate.yml

on: pull_request
Matrix: Validate
build-deploy  /  Generate environment variables
build-deploy / Generate environment variables
build-deploy  /  Generate public url
build-deploy / Generate public url
build-deploy  /  Build and push docker image
build-deploy / Build and push docker image
build-deploy  /  ...  /  deploy
build-deploy / Deploy docker image / deploy
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 11 warnings, and 1 notice
[chromium] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link: e2e/tests/app/app.test.ts#L110
1) [chromium] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ─── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('main') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('main') - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" 108 | 109 | await indexPage.skipLink.click(); > 110 | await expect(indexPage.mainContent).toBeFocused(); | ^ 111 | }); 112 | 113 | test("should set `lang` attribute on `html` element", async ({ createIndexPage }) => { at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/app.test.ts:110:39
[chromium] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link: e2e/tests/app/app.test.ts#L110
1) [chromium] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ─── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('main') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('main') - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" 108 | 109 | await indexPage.skipLink.click(); > 110 | await expect(indexPage.mainContent).toBeFocused(); | ^ 111 | }); 112 | 113 | test("should set `lang` attribute on `html` element", async ({ createIndexPage }) => { at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/app.test.ts:110:39
[chromium] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link: e2e/tests/app/app.test.ts#L110
1) [chromium] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ─── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('main') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('main') - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" 108 | 109 | await indexPage.skipLink.click(); > 110 | await expect(indexPage.mainContent).toBeFocused(); | ^ 111 | }); 112 | 113 | test("should set `lang` attribute on `html` element", async ({ createIndexPage }) => { at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/app.test.ts:110:39
[chromium] › tests/app/navigation.test.ts:28:1 › Documentation: e2e/tests/app/navigation.test.ts#L40
2) [chromium] › tests/app/navigation.test.ts:28:1 › Documentation ──────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Data' }).first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Data' }).first() 38 | 39 | await page.goto("/documentation/data"); > 40 | await expect(page.getByRole("heading", { name: "Data" }).first()).toBeVisible(); | ^ 41 | 42 | await page.getByRole("link", { name: "Project" }).click(); 43 | await expect(page.getByRole("heading", { name: "Project" }).first()).toBeVisible(); at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/navigation.test.ts:40:68
[chromium] › tests/app/navigation.test.ts:28:1 › Documentation: e2e/tests/app/navigation.test.ts#L40
2) [chromium] › tests/app/navigation.test.ts:28:1 › Documentation ──────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Data' }).first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Data' }).first() 38 | 39 | await page.goto("/documentation/data"); > 40 | await expect(page.getByRole("heading", { name: "Data" }).first()).toBeVisible(); | ^ 41 | 42 | await page.getByRole("link", { name: "Project" }).click(); 43 | await expect(page.getByRole("heading", { name: "Project" }).first()).toBeVisible(); at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/navigation.test.ts:40:68
[chromium] › tests/app/navigation.test.ts:28:1 › Documentation: e2e/tests/app/navigation.test.ts#L40
2) [chromium] › tests/app/navigation.test.ts:28:1 › Documentation ──────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Data' }).first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Data' }).first() 38 | 39 | await page.goto("/documentation/data"); > 40 | await expect(page.getByRole("heading", { name: "Data" }).first()).toBeVisible(); | ^ 41 | 42 | await page.getByRole("link", { name: "Project" }).click(); 43 | await expect(page.getByRole("heading", { name: "Project" }).first()).toBeVisible(); at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/navigation.test.ts:40:68
[firefox] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link: e2e/tests/app/app.test.ts#L110
3) [firefox] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ──── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('main') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('main') - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" 108 | 109 | await indexPage.skipLink.click(); > 110 | await expect(indexPage.mainContent).toBeFocused(); | ^ 111 | }); 112 | 113 | test("should set `lang` attribute on `html` element", async ({ createIndexPage }) => { at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/app.test.ts:110:39
[firefox] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link: e2e/tests/app/app.test.ts#L110
3) [firefox] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('main') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('main') - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" 108 | 109 | await indexPage.skipLink.click(); > 110 | await expect(indexPage.mainContent).toBeFocused(); | ^ 111 | }); 112 | 113 | test("should set `lang` attribute on `html` element", async ({ createIndexPage }) => { at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/app.test.ts:110:39
[firefox] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link: e2e/tests/app/app.test.ts#L110
3) [firefox] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ──── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('main') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('main') - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" - locator resolved to <main id="main-content" class="mb-4 flex flex-col gap-8 md:mb-8">…</main> - unexpected value "not focused" 108 | 109 | await indexPage.skipLink.click(); > 110 | await expect(indexPage.mainContent).toBeFocused(); | ^ 111 | }); 112 | 113 | test("should set `lang` attribute on `html` element", async ({ createIndexPage }) => { at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/app.test.ts:110:39
[firefox] › tests/app/navigation.test.ts:28:1 › Documentation: e2e/tests/app/navigation.test.ts#L40
4) [firefox] › tests/app/navigation.test.ts:28:1 › Documentation ───────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Data' }).first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Data' }).first() 38 | 39 | await page.goto("/documentation/data"); > 40 | await expect(page.getByRole("heading", { name: "Data" }).first()).toBeVisible(); | ^ 41 | 42 | await page.getByRole("link", { name: "Project" }).click(); 43 | await expect(page.getByRole("heading", { name: "Project" }).first()).toBeVisible(); at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/navigation.test.ts:40:68
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
9 failed [chromium] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ──── [chromium] › tests/app/navigation.test.ts:28:1 › Documentation ───────────────────────────────── [firefox] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ───── [firefox] › tests/app/navigation.test.ts:28:1 › Documentation ────────────────────────────────── [firefox] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes ── [webkit] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ────── [webkit] › tests/app/navigation.test.ts:28:1 › Documentation ─────────────────────────────────── [webkit] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes ─── [webkit] › tests/pages/index.test.ts:29:2 › index page › should not have visible changes ─────── 63 passed (3.5m)