Skip to content

fix: locale tests for trailing slashes #8

fix: locale tests for trailing slashes

fix: locale tests for trailing slashes #8

Re-run triggered June 26, 2024 16:16
Status Failure
Total duration 4m 42s
Artifacts

validate.yml

on: push
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

4 errors, 5 warnings, and 1 notice
[chromium] › tests/pages/imprint.test.ts:16:2 › imprint page › should have imprint text: e2e/tests/pages/imprint.test.ts#L26
1) [chromium] › tests/pages/imprint.test.ts:16:2 › imprint page › should have imprint text ─────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('main') Expected string: "Legal disclosure" Received string: "ImprintOK" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('main') - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" 24 | await imprintPage.goto(); 25 | > 26 | await expect(imprintPage.page.getByRole("main")).toContainText(imprints[locale]); | ^ 27 | } 28 | }); 29 | at /home/runner/work/oad-approaching-byzantium/oad-approaching-byzantium/e2e/tests/pages/imprint.test.ts:26:53
[chromium] › tests/pages/imprint.test.ts:16:2 › imprint page › should have imprint text: e2e/tests/pages/imprint.test.ts#L26
1) [chromium] › tests/pages/imprint.test.ts:16:2 › imprint page › should have imprint text ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('main') Expected string: "Legal disclosure" Received string: "ImprintOK" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('main') - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" 24 | await imprintPage.goto(); 25 | > 26 | await expect(imprintPage.page.getByRole("main")).toContainText(imprints[locale]); | ^ 27 | } 28 | }); 29 | at /home/runner/work/oad-approaching-byzantium/oad-approaching-byzantium/e2e/tests/pages/imprint.test.ts:26:53
[chromium] › tests/pages/imprint.test.ts:16:2 › imprint page › should have imprint text: e2e/tests/pages/imprint.test.ts#L26
1) [chromium] › tests/pages/imprint.test.ts:16:2 › imprint page › should have imprint text ─────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('main') Expected string: "Legal disclosure" Received string: "ImprintOK" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('main') - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" - locator resolved to <main tabindex="-1" id="main-content" class="container max-w-3xl py-8">…</main> - unexpected value "ImprintOK" 24 | await imprintPage.goto(); 25 | > 26 | await expect(imprintPage.page.getByRole("main")).toContainText(imprints[locale]); | ^ 27 | } 28 | }); 29 | at /home/runner/work/oad-approaching-byzantium/oad-approaching-byzantium/e2e/tests/pages/imprint.test.ts:26:53
Validate (20.x, ubuntu-latest)
Process completed with exit code 1.
Validate (20.x, ubuntu-latest): components/entity-details.vue#L47
Variable 'relations' is already declared in the upper scope
Validate (20.x, ubuntu-latest): components/ui/collapsible/Collapsible.vue#L16
Variable 'open' is already declared in the upper scope
Validate (20.x, ubuntu-latest): e2e/tests/pages/imprint.test.ts#L43
Unexpected use of the `.skip()` annotation
Validate (20.x, ubuntu-latest): e2e/tests/pages/index.test.ts#L29
Unexpected use of the `.skip()` annotation
Validate (20.x, ubuntu-latest)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
🎭 Playwright Run Summary
1 failed [chromium] › tests/pages/imprint.test.ts:16:2 › imprint page › should have imprint text ──────── 2 skipped 22 passed (28.6s)