Remove usage of test-id where possible #1645
pipeline.yml
on: push
Annotations
5 errors, 23 warnings, and 2 notices
[Desktop Chrome] › 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] › e2e/examplePages.spec.ts:18:5 › Digitaltauglichkeit main functionality › displays detailed information for principle: digitale-kommunikation-sicherstellen
Test timeout of 30000ms exceeded.
|
[Desktop Chrome] › 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] › 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] › 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] › e2e/examplePages.spec.ts:31:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen
Test timeout of 30000ms exceeded.
|
[Desktop Chrome] › 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] › 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] › e2e/general.spec.ts:17:5 › test general availability › /methoden/technische-umsetzbarkeit is reachable and has a breadcrumb menu + title:
packages/dito/tests/e2e/general.spec.ts#L21
3) [Desktop Chrome] › e2e/general.spec.ts:17:5 › test general availability › /methoden/technische-umsetzbarkeit 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
|
changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
vulnerability-scan / vulnerability-scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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#L111
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#L123
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/methoden_.fuenf-prinzipien.tsx#L78
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#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/routes/vorpruefung.$questionId/PreCheckNavigation.tsx#L25
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#L111
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#L123
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/methoden_.fuenf-prinzipien.tsx#L78
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#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/routes/vorpruefung.$questionId/PreCheckNavigation.tsx#L25
Classname 'list-unstyled' is not a Tailwind CSS class!
|
check-test-build-deploy (dito) / build-and-push-image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check-test-build-deploy (dito) / deploy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
29 passed (56.3s)
|
🎭 Playwright Run Summary
3 flaky
[Desktop Chrome] › e2e/examplePages.spec.ts:18:5 › Digitaltauglichkeit main functionality › displays detailed information for principle: digitale-kommunikation-sicherstellen
[Desktop Chrome] › e2e/examplePages.spec.ts:31:5 › Digitaltauglichkeit main functionality › renders navigation links for principle: digitale-kommunikation-sicherstellen
[Desktop Chrome] › e2e/general.spec.ts:17:5 › test general availability › /methoden/technische-umsetzbarkeit is reachable and has a breadcrumb menu + title
1 skipped
138 passed (3.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
SBOM-digitalcheck-dito
|
4.81 KB |
|
digitalcheck-dito-vulnerabilities.json
|
31.3 KB |
|