refactor: align with acdh app template #5
validate.yml
on: pull_request
Annotations
10 errors, 11 warnings, and 1 notice
Validate (22.x, ubuntu-latest)
Testing stopped early after 10 maximum allowed failures.
|
[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:3:1 › Searchinterface navigation:
e2e/tests/app/navigation.test.ts#L1
2) [chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation ────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation:
e2e/tests/app/navigation.test.ts#L5
2) [chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation ────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('nextPage').first()
3 | test("Searchinterface navigation", async ({ page }) => {
4 | await page.goto("/search/persons");
> 5 | await page.getByTestId("nextPage").first().click();
| ^
6 |
7 | await expect(page).toHaveURL(/.*page=2/);
8 |
at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/navigation.test.ts:5:45
|
[chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation:
e2e/tests/app/navigation.test.ts#L1
2) [chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation:
e2e/tests/app/navigation.test.ts#L5
2) [chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('nextPage').first()
3 | test("Searchinterface navigation", async ({ page }) => {
4 | await page.goto("/search/persons");
> 5 | await page.getByTestId("nextPage").first().click();
| ^
6 |
7 | await expect(page).toHaveURL(/.*page=2/);
8 |
at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/navigation.test.ts:5:45
|
[chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation:
e2e/tests/app/navigation.test.ts#L1
2) [chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation ────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation:
e2e/tests/app/navigation.test.ts#L5
2) [chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation ────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('nextPage').first()
3 | test("Searchinterface navigation", async ({ page }) => {
4 | await page.goto("/search/persons");
> 5 | await page.getByTestId("nextPage").first().click();
| ^
6 |
7 | await expect(page).toHaveURL(/.*page=2/);
8 |
at /home/runner/work/viecpro-nuxt/viecpro-nuxt/e2e/tests/app/navigation.test.ts:5:45
|
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
10 failed
[chromium] › tests/app/app.test.ts:102:2 › app › should skip to main content with skip-link ────
[chromium] › tests/app/navigation.test.ts:3:1 › Searchinterface navigation ─────────────────────
[chromium] › tests/app/navigation.test.ts:28:1 › Documentation ─────────────────────────────────
[chromium] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes ─
[chromium] › tests/pages/search.test.ts:3:1 › Searchinterface navigation ───────────────────────
[chromium] › tests/pages/search.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:3:1 › Searchinterface navigation ──────────────────────
[firefox] › tests/app/navigation.test.ts:28:1 › Documentation ──────────────────────────────────
[firefox] › tests/pages/imprint.test.ts:43:2 › imprint page › should not have visible changes ──
29 did not run
33 passed (8.1m)
|