fix: locale tests for trailing slashes #8
Annotations
4 errors, 5 warnings, and 1 notice
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
|
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
|
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
|
|
components/entity-details.vue#L47
Variable 'relations' is already declared in the upper scope
|
components/ui/collapsible/Collapsible.vue#L16
Variable 'open' is already declared in the upper scope
|
e2e/tests/pages/imprint.test.ts#L43
Unexpected use of the `.skip()` annotation
|
e2e/tests/pages/index.test.ts#L29
Unexpected use of the `.skip()` annotation
|
|
|
This job failed
Loading