Skip to content

Refactor result page #1787

Refactor result page

Refactor result page #1787

Triggered via push February 18, 2025 15:42
Status Success
Total duration 10m 20s
Artifacts 2

pipeline.yml

on: push
changes
4s
changes
vulnerability-scan  /  vulnerability-scan
27s
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, 21 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/examplePages.spec.ts:67:5 › Digitaltauglichkeit Prinzipien Detail › navigates to laws associated with principle: datenschutz-und-informationssicherheit-gewaehrleisten: packages/dito/tests/e2e/examplePages.spec.ts#L75
3) [Desktop Chrome] › tests/e2e/examplePages.spec.ts:67:5 › Digitaltauglichkeit Prinzipien Detail › navigates to laws associated with principle: datenschutz-und-informationssicherheit-gewaehrleisten Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('a[href^="/beispiele/regelungen"]').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('a[href^="/beispiele/regelungen"]').first() 73 | 74 | const lawLinks = page.locator(`a[href^="${ROUTE_LAWS.url}"]`); > 75 | await expect(lawLinks.first()).toBeVisible(); | ^ 76 | 77 | const [newTab] = await Promise.all([ 78 | context.waitForEvent("page"), at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/examplePages.spec.ts:75:38
[Desktop Chrome] › tests/e2e/resultForm.spec.ts:362:3 › test negative result for digital and interoperability › email body contains negative reasoning: packages/dito/tests/e2e/resultForm.spec.ts#L293
4) [Desktop Chrome] › tests/e2e/resultForm.spec.ts:362:3 › test negative result for digital and interoperability › email body contains negative reasoning 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:362:3 › test negative result for digital and interoperability › email body contains negative reasoning: packages/dito/tests/e2e/resultForm.spec.ts#L298
4) [Desktop Chrome] › tests/e2e/resultForm.spec.ts:362:3 › test negative result for digital and interoperability › email body contains negative reasoning 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) / check-and-test-shared / check-and-test: packages/dito/app/routes/_index.tsx#L12
Using exported name 'useFeatureFlag' as identifier for default import
check-test-build-deploy (dito) / check-and-test-shared / check-and-test: packages/dito/app/routes/_index.tsx#L12
Using exported name 'useFeatureFlag' as identifier for default import
Slow Test: packages/dito/[Desktop Chrome] › tests/e2e/resultPage.spec.ts#L1
packages/dito/[Desktop Chrome] › tests/e2e/resultPage.spec.ts took 23.8s
🎭 Playwright Run Summary
30 passed (57.7s)
🎭 Playwright Run Summary
4 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/examplePages.spec.ts:67:5 › Digitaltauglichkeit Prinzipien Detail › navigates to laws associated with principle: datenschutz-und-informationssicherheit-gewaehrleisten [Desktop Chrome] › tests/e2e/resultForm.spec.ts:362:3 › test negative result for digital and interoperability › email body contains negative reasoning 1 skipped 145 passed (3.7m)

Artifacts

Produced during runtime
Name Size
SBOM-digitalcheck-dito
4.83 KB
digitalcheck-dito-vulnerabilities.json
33.5 KB