Skip to content

Import mockServer only if needed #1740

Import mockServer only if needed

Import mockServer only if needed #1740

Triggered via push February 12, 2025 09:26
Status Failure
Total duration 8m 2s
Artifacts

pipeline.yml

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

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.
🎭 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)