Cleanup tests #1611
pipeline.yml
on: push
Annotations
8 errors, 23 warnings, and 2 notices
[chromium] › e2e/examplePages.spec.ts:18:5 › Digitaltauglichkeit main functionality › displays detailed information for principle: digitale-kommunikation-sicherstellen:
packages/dito/tests/e2e/examplePages.spec.ts#L25
1) [chromium] › e2e/examplePages.spec.ts:18:5 › Digitaltauglichkeit main functionality › displays detailed information for principle: digitale-kommunikation-sicherstellen
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('main')
Expected string: "Prinzip 1 in Regelungstexten"
Received: <element(s) not found>
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('main')
23 |
24 | const mainContent = page.getByRole("main");
> 25 | await expect(mainContent).toContainText(
| ^
26 | `Prinzip ${principles.indexOf(principle) + 1} in Regelungstexten`,
27 | );
28 | });
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/examplePages.spec.ts:25:33
|
[chromium] › e2e/examplePages.spec.ts:30:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen:
packages/dito/tests/e2e/examplePages.spec.ts#L1
2) [chromium] › e2e/examplePages.spec.ts:30:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen
Test timeout of 30000ms exceeded.
|
[chromium] › e2e/examplePages.spec.ts:30:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen:
packages/dito/tests/e2e/examplePages.spec.ts#L43
2) [chromium] › e2e/examplePages.spec.ts:30:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen
Error: expect.toHaveURL: Target page, context or browser has been closed
41 |
42 | await nextPrincipleLink.click();
> 43 | await expect(page).toHaveURL(
| ^
44 | `${ROUTE_PRINCIPLES.url}/${principles[nextPrincipleIndex]}`,
45 | );
46 | }
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/examplePages.spec.ts:43:28
|
[webkit] › e2e/preCheckQuestions.spec.ts:262:3 › test question navigation › Navigation with LinkBar works and restricts unanswered questions:
packages/dito/tests/e2e/preCheckQuestions.spec.ts#L279
3) [webkit] › e2e/preCheckQuestions.spec.ts:262:3 › test question navigation › Navigation with LinkBar works and restricts unanswered questions
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('.lg\\:hidden .flex').locator('a[href="/vorpruefung/verpflichtungen-fuer-beteiligte"]')
Expected pattern: /bg-blue-800/
Received string: "h-6 flex-1 transition-all duration-300 bg-blue-300"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for locator('.lg\\:hidden .flex').locator('a[href="/vorpruefung/verpflichtungen-fuer-beteiligte"]')
9 × locator resolved to <a data-discover="true" href="/vorpruefung/verpflichtungen-fuer-beteiligte" class="h-6 flex-1 transition-all duration-300 bg-blue-300"></a>
- unexpected value "h-6 flex-1 transition-all duration-300 bg-blue-300"
277 | /bg-blue-800/,
278 | );
> 279 | await expect(linkBar.locator(`a[href="${questions[1].url}"]`)).toHaveClass(
| ^
280 | /bg-blue-800/,
281 | );
282 |
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/preCheckQuestions.spec.ts:279:68
|
[webkit] › e2e/resultForm.spec.ts:338:3 › test negative result for digital and interoperability › title input is visible:
packages/dito/tests/e2e/resultForm.spec.ts#L322
4) [webkit] › e2e/resultForm.spec.ts:338:3 › test negative result for digital and interoperability › title input is visible
Test timeout of 30000ms exceeded while running "beforeEach" hook.
320 |
321 | test.describe("test negative result for digital and interoperability", () => {
> 322 | test.beforeEach(
| ^
323 | "answer all pre-check questions with no and go to result page",
324 | async ({ page }) => {
325 | await page.goto(questions[0].url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:322:8
|
[webkit] › e2e/resultForm.spec.ts:338:3 › test negative result for digital and interoperability › title input is visible:
packages/dito/tests/e2e/resultForm.spec.ts#L327
4) [webkit] › e2e/resultForm.spec.ts:338:3 › test negative result for digital and interoperability › title input is visible
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/vorpruefung/verpflichtungen-fuer-beteiligte" until "load"
============================================================
325 | await page.goto(questions[0].url);
326 | for (let i = 0; i < questions.length; i++) {
> 327 | await page.waitForURL(questions[i].url);
| ^
328 | await page.getByLabel("Nein").click();
329 | await page.getByRole("button", { name: "Übernehmen" }).click();
330 | }
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:327:20
|
[webkit] › e2e/resultForm.spec.ts:545:3 › test unsure result for digital and positive for interoperability › form is not shown:
packages/dito/tests/e2e/resultForm.spec.ts#L531
5) [webkit] › e2e/resultForm.spec.ts:545:3 › test unsure result for digital and positive for interoperability › form is not shown
Test timeout of 30000ms exceeded while running "beforeEach" hook.
529 |
530 | test.describe("test unsure result for digital and positive for interoperability", () => {
> 531 | test.beforeEach(
| ^
532 | "answer all digital questions with unsure and all interoperability questions with yes and go to result page",
533 | async ({ page }) => {
534 | await page.goto(questions[0].url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:531:8
|
[webkit] › e2e/resultForm.spec.ts:545:3 › test unsure result for digital and positive for interoperability › form is not shown:
packages/dito/tests/e2e/resultForm.spec.ts#L536
5) [webkit] › e2e/resultForm.spec.ts:545:3 › test unsure result for digital and positive for interoperability › form is not shown
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/vorpruefung/verpflichtungen-fuer-beteiligte" until "load"
============================================================
534 | await page.goto(questions[0].url);
535 | for (let i = 0; i < questions.length; i++) {
> 536 | await page.waitForURL(questions[i].url);
| ^
537 | await page
538 | .getByLabel(questions[i].interoperability ? "Ja" : "Ich bin unsicher")
539 | .click();
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:536:20
|
changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
vulnerability-scan / vulnerability-scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/components/ParagraphList.tsx#L38
Unsafe member access .children on an `any` value
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/_index.tsx#L111
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/_index.tsx#L123
Classname 'text-link' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/beispiele.prinzipien.$prinzip.tsx#L138
Classname 'text-link' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/beispiele.regelungen.$regelung.tsx#L110
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/methoden_.fuenf-prinzipien.tsx#L78
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/sitemap.tsx#L50
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/sitemap.tsx#L53
Classname 'text-link' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/vorpruefung.$questionId/PreCheckNavigation.tsx#L25
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/components/ParagraphList.tsx#L38
Unsafe member access .children on an `any` value
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/_index.tsx#L111
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/_index.tsx#L123
Classname 'text-link' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/beispiele.prinzipien.$prinzip.tsx#L138
Classname 'text-link' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/beispiele.regelungen.$regelung.tsx#L110
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/methoden_.fuenf-prinzipien.tsx#L78
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/sitemap.tsx#L50
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/sitemap.tsx#L53
Classname 'text-link' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test:
packages/dito/app/routes/vorpruefung.$questionId/PreCheckNavigation.tsx#L25
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / build-and-push-image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check-test-build-deploy (dito) / deploy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
87 passed (2.7m)
|
🎭 Playwright Run Summary
5 flaky
[chromium] › e2e/examplePages.spec.ts:18:5 › Digitaltauglichkeit main functionality › displays detailed information for principle: digitale-kommunikation-sicherstellen
[chromium] › e2e/examplePages.spec.ts:30:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen
[webkit] › e2e/preCheckQuestions.spec.ts:262:3 › test question navigation › Navigation with LinkBar works and restricts unanswered questions
[webkit] › e2e/resultForm.spec.ts:338:3 › test negative result for digital and interoperability › title input is visible
[webkit] › e2e/resultForm.spec.ts:545:3 › test unsure result for digital and positive for interoperability › form is not shown
421 passed (11.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
SBOM-digitalcheck-dito
|
4.81 KB |
|
digitalcheck-dito-vulnerabilities.json
|
30.5 KB |
|