Import mockServer only if needed #1740
pipeline.yml
on: push
Annotations
7 errors, 20 warnings, and 2 notices
[Desktop Chrome] › tests/e2e/examplePages.spec.ts:18:5 › Digitaltauglichkeit main functionality › displays detailed information for principle: digitale-kommunikation-sicherstellen:
packages/dito/tests/e2e/examplePages.spec.ts#L1
1) [Desktop Chrome] › tests/e2e/examplePages.spec.ts:18:5 › Digitaltauglichkeit main functionality › displays detailed information for principle: digitale-kommunikation-sicherstellen
Test timeout of 30000ms exceeded.
|
[Desktop Chrome] › tests/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) [Desktop Chrome] › tests/e2e/examplePages.spec.ts:18:5 › Digitaltauglichkeit main functionality › displays detailed information for principle: digitale-kommunikation-sicherstellen
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('main') to be visible
23 |
24 | const mainContent = page.locator("main");
> 25 | await mainContent.waitFor();
| ^
26 | await expect(mainContent).toContainText(
27 | `Prinzip ${principles.indexOf(principle) + 1} in Regelungstexten`,
28 | );
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/examplePages.spec.ts:25:25
|
[Desktop Chrome] › tests/e2e/examplePages.spec.ts:31:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen:
packages/dito/tests/e2e/examplePages.spec.ts#L1
2) [Desktop Chrome] › tests/e2e/examplePages.spec.ts:31:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen
Test timeout of 30000ms exceeded.
|
[Desktop Chrome] › tests/e2e/examplePages.spec.ts:31:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen:
packages/dito/tests/e2e/examplePages.spec.ts#L42
2) [Desktop Chrome] › tests/e2e/examplePages.spec.ts:31:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Prinzip 2' }) to be visible
40 | name: `Prinzip ${nextPrincipleIndex + 1}`,
41 | });
> 42 | await nextPrincipleLink.waitFor();
| ^
43 | await nextPrincipleLink.click();
44 | await expect(page).toHaveURL(
45 | `${ROUTE_PRINCIPLES.url}/${principles[nextPrincipleIndex]}`,
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/examplePages.spec.ts:42:33
|
[Desktop Chrome] › tests/e2e/resultForm.spec.ts:309:3 › test negative result for digital and interoperability › title input is visible:
packages/dito/tests/e2e/resultForm.spec.ts#L293
3) [Desktop Chrome] › tests/e2e/resultForm.spec.ts:309:3 › test negative result for digital and interoperability › title input is visible
Test timeout of 30000ms exceeded while running "beforeEach" hook.
291 |
292 | test.describe("test negative result for digital and interoperability", () => {
> 293 | test.beforeEach(
| ^
294 | "answer all pre-check questions with no and go to result page",
295 | async ({ page }) => {
296 | await page.goto(questions[0].url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:293:8
|
[Desktop Chrome] › tests/e2e/resultForm.spec.ts:309:3 › test negative result for digital and interoperability › title input is visible:
packages/dito/tests/e2e/resultForm.spec.ts#L298
3) [Desktop Chrome] › tests/e2e/resultForm.spec.ts:309: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"
============================================================
296 | await page.goto(questions[0].url);
297 | for (const question of questions) {
> 298 | await page.waitForURL(question.url);
| ^
299 | await page.getByLabel("Nein").click();
300 | await page.getByRole("button", { name: "Übernehmen" }).click();
301 | }
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:298:20
|
check-test-build-deploy (dito) / build-and-push-image
Process completed with exit code 1.
|
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/components/TableOfContents.tsx#L20
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#L71
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#L83
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/interoperabel.tsx#L27
Expected an error object to be thrown
|
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/components/TableOfContents.tsx#L20
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#L71
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#L83
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/interoperabel.tsx#L27
Expected an error object to be thrown
|
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!
|
🎭 Playwright Run Summary
30 passed (58.3s)
|
🎭 Playwright Run Summary
3 flaky
[Desktop Chrome] › tests/e2e/examplePages.spec.ts:18:5 › Digitaltauglichkeit main functionality › displays detailed information for principle: digitale-kommunikation-sicherstellen
[Desktop Chrome] › tests/e2e/examplePages.spec.ts:31:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen
[Desktop Chrome] › tests/e2e/resultForm.spec.ts:309:3 › test negative result for digital and interoperability › title input is visible
1 skipped
146 passed (3.7m)
|