Refactor css #1582
Annotations
7 errors, 3 warnings, and 2 notices
Run E2E tests:
packages/dito/tests/e2e/assessment.spec.ts#L48
1) [chromium] › e2e/assessment.spec.ts:58:3 › test positive assessment page › accepts user input on assessment page
Test timeout of 30000ms exceeded while running "beforeEach" hook.
46 |
47 | test.describe("test positive assessment page", () => {
> 48 | test.beforeEach("Go to assessment page", async ({ page }) => {
| ^
49 | await page.goto(preCheck.questions[0].url);
50 | for (let i = 0; i < preCheck.questions.length; i++) {
51 | await page.waitForURL(preCheck.questions[i].url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/assessment.spec.ts:48:8
|
Run E2E tests:
packages/dito/tests/e2e/assessment.spec.ts#L52
1) [chromium] › e2e/assessment.spec.ts:58:3 › test positive assessment page › accepts user input on assessment page
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('Ja')
50 | for (let i = 0; i < preCheck.questions.length; i++) {
51 | await page.waitForURL(preCheck.questions[i].url);
> 52 | await page.getByLabel("Ja").click();
| ^
53 | await page.getByRole("button", { name: "Übernehmen" }).click();
54 | }
55 | await page.waitForURL(ROUTE_RESULT.url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/assessment.spec.ts:52:35
|
Run E2E tests:
packages/dito/tests/e2e/assessment.spec.ts#L48
2) [chromium] › e2e/assessment.spec.ts:72:3 › test positive assessment page › title can't be too long
Test timeout of 30000ms exceeded while running "beforeEach" hook.
46 |
47 | test.describe("test positive assessment page", () => {
> 48 | test.beforeEach("Go to assessment page", async ({ page }) => {
| ^
49 | await page.goto(preCheck.questions[0].url);
50 | for (let i = 0; i < preCheck.questions.length; i++) {
51 | await page.waitForURL(preCheck.questions[i].url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/assessment.spec.ts:48:8
|
Run E2E tests:
packages/dito/tests/e2e/assessment.spec.ts#L52
2) [chromium] › e2e/assessment.spec.ts:72:3 › test positive assessment page › title can't be too long
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('Ja')
50 | for (let i = 0; i < preCheck.questions.length; i++) {
51 | await page.waitForURL(preCheck.questions[i].url);
> 52 | await page.getByLabel("Ja").click();
| ^
53 | await page.getByRole("button", { name: "Übernehmen" }).click();
54 | }
55 | await page.waitForURL(ROUTE_RESULT.url);
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/assessment.spec.ts:52:35
|
Run E2E tests:
packages/dito/tests/e2e/assessment.spec.ts#L18
3) [chromium] › e2e/assessment.spec.ts:252:3 › test email negative result › email contains negative reasoning
Error: "Target page, context or browser has been closed
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/131.0.6778.33 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=eyJhbnN3ZXJzIjp7Iml0LXN5c3RlbSI6Im5vIiwidmVycGZsaWNodHVuZ2VuLWZ1ZXItYmV0ZWlsaWd0ZSI6Im5vIiwiZGF0ZW5hdXN0YXVzY2giOiJubyIsImtvbW11bmlrYXRpb24iOiJubyIsImF1dG9tYXRpc2llcnVuZyI6Im5vIiwiZXUtYmV6dWciOiJubyJ9LCJoYXNWaWV3ZWRSZXN1bHQiOnRydWV9
- origin: http://localhost:5172
- referer: http://localhost:5172/vorpruefung/ergebnis
- sec-ch-ua: "Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
- content-length: 230
" while running route callback.
Consider awaiting `await page.unrouteAll({ behavior: 'ignoreErrors' })`
before the end of the test to ignore remaining routes in flight.
16 | ) {
17 | await page.route("**", async (route) => {
> 18 | const response = await route.fetch();
| ^
19 | const status = response.headers()["x-remix-status"];
20 | const redirectUrl = response.headers()["x-remix-redirect"];
21 |
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/assessment.spec.ts:18:34
|
Run E2E tests:
packages/dito/tests/e2e/general.spec.ts#L21
4) [chromium] › e2e/general.spec.ts:17:5 › test general availability › /unterstuetzung is reachable and has a breadcrumb menu + 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
|
Run E2E tests:
packages/dito/tests/e2e/preCheckQuestions.spec.ts#L241
5) [webkit] › e2e/preCheckQuestions.spec.ts:231:3 › test question navigation › answered question have check mark icon
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'IT-System' }).getByTestId('CheckIcon')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('link', { name: 'IT-System' }).getByTestId('CheckIcon')
239 | .getByRole("link", { name: questions[0].title })
240 | .getByTestId("CheckIcon"),
> 241 | ).toBeVisible();
| ^
242 |
243 | // Check second question is not checked
244 | await expect(
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/preCheckQuestions.spec.ts:241:7
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Fix lint:
packages/dito/app/components/ParagraphList.tsx#L38
Unsafe member access .children on an `any` value
|
Lint:
packages/dito/app/components/ParagraphList.tsx#L38
Unsafe member access .children on an `any` value
|
Run A11y tests
87 passed (2.7m)
|
Run E2E tests
5 flaky
[chromium] › e2e/assessment.spec.ts:58:3 › test positive assessment page › accepts user input on assessment page
[chromium] › e2e/assessment.spec.ts:72:3 › test positive assessment page › title can't be too long
[chromium] › e2e/assessment.spec.ts:252:3 › test email negative result › email contains negative reasoning
[chromium] › e2e/general.spec.ts:17:5 › test general availability › /unterstuetzung is reachable and has a breadcrumb menu + title
[webkit] › e2e/preCheckQuestions.spec.ts:231:3 › test question navigation › answered question have check mark icon
343 passed (9.3m)
|
Loading