Refactor result page #1787
pipeline.yml
on: push
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/components/LinkListBox.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/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#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#L85
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#L97
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/components/LinkListBox.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/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#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#L85
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#L97
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!
|
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 |
|