Move some hardcoded strings to content.ts #1723
Annotations
9 errors, 20 warnings, and 1 notice
Run E2E tests:
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 + 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/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 + 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
|
Run E2E tests:
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.
|
Run E2E tests:
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
|
Run E2E tests:
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.
|
Run E2E tests:
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
|
Run E2E tests:
packages/dito/tests/e2e/resultForm.spec.ts#L293
4) [Desktop Chrome] › tests/e2e/resultForm.spec.ts:305:3 › test negative result for digital and interoperability › email 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
|
Run E2E tests:
packages/dito/tests/e2e/resultForm.spec.ts#L298
4) [Desktop Chrome] › tests/e2e/resultForm.spec.ts:305:3 › test negative result for digital and interoperability › email 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
|
Run E2E tests
Process completed with exit code 1.
|
Fix lint:
packages/dito/app/components/ParagraphList.tsx#L38
Unsafe member access .children on an `any` value
|
Fix lint:
packages/dito/app/routes/_index.tsx#L111
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Fix lint:
packages/dito/app/routes/_index.tsx#L123
Classname 'text-link' is not a Tailwind CSS class!
|
Fix lint:
packages/dito/app/routes/beispiele.prinzipien.$prinzip.tsx#L138
Classname 'text-link' is not a Tailwind CSS class!
|
Fix lint:
packages/dito/app/routes/beispiele.regelungen.$regelung.tsx#L110
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Fix lint:
packages/dito/app/routes/interoperabel.tsx#L25
Expected an error object to be thrown
|
Fix lint:
packages/dito/app/routes/methoden_.fuenf-prinzipien.tsx#L82
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Fix lint:
packages/dito/app/routes/sitemap.tsx#L50
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Fix lint:
packages/dito/app/routes/sitemap.tsx#L53
Classname 'text-link' is not a Tailwind CSS class!
|
Fix lint:
packages/dito/app/routes/vorpruefung.$questionId/PreCheckNavigation.tsx#L25
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Lint:
packages/dito/app/components/ParagraphList.tsx#L38
Unsafe member access .children on an `any` value
|
Lint:
packages/dito/app/routes/_index.tsx#L111
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Lint:
packages/dito/app/routes/_index.tsx#L123
Classname 'text-link' is not a Tailwind CSS class!
|
Lint:
packages/dito/app/routes/beispiele.prinzipien.$prinzip.tsx#L138
Classname 'text-link' is not a Tailwind CSS class!
|
Lint:
packages/dito/app/routes/beispiele.regelungen.$regelung.tsx#L110
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Lint:
packages/dito/app/routes/interoperabel.tsx#L25
Expected an error object to be thrown
|
Lint:
packages/dito/app/routes/methoden_.fuenf-prinzipien.tsx#L82
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Lint:
packages/dito/app/routes/sitemap.tsx#L50
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Lint:
packages/dito/app/routes/sitemap.tsx#L53
Classname 'text-link' is not a Tailwind CSS class!
|
Lint:
packages/dito/app/routes/vorpruefung.$questionId/PreCheckNavigation.tsx#L25
Classname 'list-unstyled' is not a Tailwind CSS class!
|
Run E2E tests
1 failed
[Desktop Chrome] › tests/e2e/general.spec.ts:17:5 › test general availability › /interoperabel is reachable and has a breadcrumb menu + 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:305:3 › test negative result for digital and interoperability › email input is visible
1 skipped
145 passed (4.0m)
|
Loading