Skip to content

Run check-and-test with NODE_ENV=test #1748

Run check-and-test with NODE_ENV=test

Run check-and-test with NODE_ENV=test #1748

Triggered via push February 12, 2025 16:07
Status Failure
Total duration 10m 41s
Artifacts 3

pipeline.yml

on: push
changes
3s
changes
vulnerability-scan  /  vulnerability-scan
36s
vulnerability-scan / vulnerability-scan
check-and-test-shared  /  check-and-test
50s
check-and-test-shared / check-and-test
Matrix: check-test-build-deploy
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 26 warnings, and 3 notices
[Desktop Chrome] › tests/e2e/general.spec.ts:17:5 › test general availability › /interoperabel is reachable and has a breadcrumb menu and title: packages/dito/tests/e2e/general.spec.ts#L21
1) [Desktop Chrome] › tests/e2e/general.spec.ts:17:5 › test general availability › /interoperabel is reachable and has a breadcrumb menu and title Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('breadcrumbs-menu') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('breadcrumbs-menu') 19 | }) => { 20 | await page.goto(route.url, { waitUntil: "networkidle" }); > 21 | await expect(page.getByTestId("breadcrumbs-menu")).toBeVisible(); | ^ 22 | await expect(page).toHaveTitle( 23 | /Digitalcheck: Digitaltaugliche Regelungen erarbeiten$/, 24 | ); at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/general.spec.ts:21:58
[Desktop Chrome] › tests/e2e/general.spec.ts:17:5 › test general availability › /interoperabel is reachable and has a breadcrumb menu and title: packages/dito/tests/e2e/general.spec.ts#L21
1) [Desktop Chrome] › tests/e2e/general.spec.ts:17:5 › test general availability › /interoperabel is reachable and has a breadcrumb menu and title Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('breadcrumbs-menu') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('breadcrumbs-menu') 19 | }) => { 20 | await page.goto(route.url, { waitUntil: "networkidle" }); > 21 | await expect(page.getByTestId("breadcrumbs-menu")).toBeVisible(); | ^ 22 | await expect(page).toHaveTitle( 23 | /Digitalcheck: Digitaltaugliche Regelungen erarbeiten$/, 24 | ); at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/general.spec.ts:21:58
[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
2) [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
2) [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
3) [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
3) [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:467:3 › test positive result with mixed answers › answers in email body are prefixed by a special character indicating the type of answer: packages/dito/tests/e2e/resultForm.spec.ts#L25
4) [Desktop Chrome] › tests/e2e/resultForm.spec.ts:467:3 › test positive result with mixed answers › answers in email body are prefixed by a special character indicating the type of answer Error: route.fetch: socket hang up Call log: - → POST http://localhost:5172/vorpruefung/ergebnis?_data=routes%2Fvorpruefung.ergebnis - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.6943.16 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - accept-language: en-US - content-type: application/x-www-form-urlencoded;charset=UTF-8 - cookie: user-answers=eyJhbnN3ZXJzIjp7Iml0LXN5c3RlbSI6Im5vIiwidmVycGZsaWNodHVuZ2VuLWZ1ZXItYmV0ZWlsaWd0ZSI6InVuc3VyZSIsImRhdGVuYXVzdGF1c2NoIjoieWVzIiwia29tbXVuaWthdGlvbiI6InllcyIsImF1dG9tYXRpc2llcnVuZyI6InllcyIsImV1LWJlenVnIjoieWVzIn0sImhhc1ZpZXdlZFJlc3VsdCI6dHJ1ZX0%3D - origin: http://localhost:5172 - referer: http://localhost:5172/vorpruefung/ergebnis - sec-ch-ua: "Not(A:Brand";v="99", "Google Chrome";v="133", "Chromium";v="133" - sec-ch-ua-mobile: ?0 - sec-ch-ua-platform: "Windows" - content-length: 145 23 | ) { 24 | await page.route("**", async (route) => { > 25 | const response = await route.fetch(); | ^ 26 | const status = response.headers()["x-remix-status"]; 27 | const redirectUrl = response.headers()["x-remix-redirect"]; 28 | at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultForm.spec.ts:25:34
check-test-build-deploy (dito) / check-and-test-shared / check-and-test
Process completed with exit code 1.
check-and-test-shared / check-and-test: packages/shared/components/Button.tsx#L25
Unsafe member access .className on an `any` value
check-and-test-shared / check-and-test: packages/shared/components/Button.tsx#L25
Unsafe member access .className on an `any` value
🎭 Playwright Run Summary
1 failed [Desktop Chrome] › tests/e2e/general.spec.ts:17:5 › test general availability › /interoperabel is reachable and has a breadcrumb menu and title 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:467:3 › test positive result with mixed answers › answers in email body are prefixed by a special character indicating the type of answer 1 skipped 145 passed (3.9m)
🎭 Playwright Run Summary
26 passed (19.7s)
🎭 Playwright Run Summary
1 passed (12.5s)

Artifacts

Produced during runtime
Name Size
SBOM-digitalcheck-tool-finder
1.48 KB
digitalcheck-tool-finder-vulnerabilities.json
45.5 KB
dito-playwright-e2e-test-results
3.17 MB