Remove redundant expects #1615
pipeline.yml
on: push
Annotations
10 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#L42
2) [chromium] › e2e/examplePages.spec.ts:30:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Prinzip 2' })
40 | });
41 |
> 42 | await nextPrincipleLink.click();
| ^
43 | await expect(page).toHaveURL(
44 | `${ROUTE_PRINCIPLES.url}/${principles[nextPrincipleIndex]}`,
45 | );
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/examplePages.spec.ts:42:33
|
[webkit] › e2e/preCheckQuestions.spec.ts:13:3 › test questions form › all answer options are submittable:
packages/dito/tests/e2e/preCheckQuestions.spec.ts#L1
3) [webkit] › e2e/preCheckQuestions.spec.ts:13:3 › test questions form › all answer options are submittable
Test timeout of 30000ms exceeded.
|
[webkit] › e2e/preCheckQuestions.spec.ts:13:3 › test questions form › all answer options are submittable:
packages/dito/tests/e2e/preCheckQuestions.spec.ts#L17
3) [webkit] › e2e/preCheckQuestions.spec.ts:13:3 › test questions form › all answer options are submittable
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/vorpruefung/verpflichtungen-fuer-beteiligte" until "load"
============================================================
15 | const answerOptions = ["Ja", "Nein", "Ich bin unsicher"];
16 | for (let i = 0; i < questions.length; i++) {
> 17 | await page.waitForURL(questions[i].url);
| ^
18 | await page.getByLabel(answerOptions[i % answerOptions.length]).click();
19 | await page.getByRole("button", { name: "Übernehmen" }).click();
20 | }
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/preCheckQuestions.spec.ts:17:18
|
[webkit] › e2e/resultForm.spec.ts:81:3 › test positive result for digital and interoperability › negative reasoning input is not visible:
packages/dito/tests/e2e/resultForm.spec.ts#L60
4) [webkit] › e2e/resultForm.spec.ts:81:3 › test positive result for digital and interoperability › negative reasoning input is not visible
Test timeout of 30000ms exceeded while running "beforeEach" hook.
58 |
59 | test.describe("test positive result for digital and interoperability", () => {
> 60 | test.beforeEach(
| ^
61 | "answer all pre-check questions with yes and go to result page",
62 | async ({ page }) => {
63 | await page.goto(questions[0].url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:60:8
|
[webkit] › e2e/resultForm.spec.ts:81:3 › test positive result for digital and interoperability › negative reasoning input is not visible:
packages/dito/tests/e2e/resultForm.spec.ts#L65
4) [webkit] › e2e/resultForm.spec.ts:81:3 › test positive result for digital and interoperability › negative reasoning input is not visible
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/vorpruefung/verpflichtungen-fuer-beteiligte" until "load"
============================================================
63 | await page.goto(questions[0].url);
64 | for (let i = 0; i < questions.length; i++) {
> 65 | await page.waitForURL(questions[i].url);
| ^
66 | await page.getByLabel("Ja").click();
67 | await page.getByRole("button", { name: "Übernehmen" }).click();
68 | }
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:65:20
|
[webkit] › e2e/resultForm.spec.ts:164:3 › test positive result for digital and interoperability › email body contains result title:
packages/dito/tests/e2e/resultForm.spec.ts#L60
5) [webkit] › e2e/resultForm.spec.ts:164:3 › test positive result for digital and interoperability › email body contains result title
Test timeout of 30000ms exceeded while running "beforeEach" hook.
58 |
59 | test.describe("test positive result for digital and interoperability", () => {
> 60 | test.beforeEach(
| ^
61 | "answer all pre-check questions with yes and go to result page",
62 | async ({ page }) => {
63 | await page.goto(questions[0].url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:60:8
|
[webkit] › e2e/resultForm.spec.ts:164:3 › test positive result for digital and interoperability › email body contains result title:
packages/dito/tests/e2e/resultForm.spec.ts#L65
5) [webkit] › e2e/resultForm.spec.ts:164:3 › test positive result for digital and interoperability › email body contains result title
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/vorpruefung/verpflichtungen-fuer-beteiligte" until "load"
============================================================
63 | await page.goto(questions[0].url);
64 | for (let i = 0; i < questions.length; i++) {
> 65 | await page.waitForURL(questions[i].url);
| ^
66 | await page.getByLabel("Ja").click();
67 | await page.getByRole("button", { name: "Übernehmen" }).click();
68 | }
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:65:20
|
[webkit] › e2e/resultForm.spec.ts:425:3 › test negative result for digital and positive for interoperability › negative reasoning input is not visible:
packages/dito/tests/e2e/resultForm.spec.ts#L411
6) [webkit] › e2e/resultForm.spec.ts:425:3 › test negative result for digital and positive for interoperability › negative reasoning input is not visible
Test timeout of 30000ms exceeded while running "beforeEach" hook.
409 |
410 | test.describe("test negative result for digital and positive for interoperability", () => {
> 411 | test.beforeEach(
| ^
412 | "answer all digital questions with no and all interoperability questions with yes and go to result page",
413 | async ({ page }) => {
414 | await page.goto(questions[0].url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:411:8
|
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
6 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:13:3 › test questions form › all answer options are submittable
[webkit] › e2e/resultForm.spec.ts:81:3 › test positive result for digital and interoperability › negative reasoning input is not visible
[webkit] › e2e/resultForm.spec.ts:164:3 › test positive result for digital and interoperability › email body contains result title
[webkit] › e2e/resultForm.spec.ts:425:3 › test negative result for digital and positive for interoperability › negative reasoning input is not visible
420 passed (11.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
SBOM-digitalcheck-dito
|
4.81 KB |
|
digitalcheck-dito-vulnerabilities.json
|
30.5 KB |
|