Warn about unhandled requests of mock server #1749
pipeline.yml
on: push
Annotations
5 errors, 20 warnings, and 1 notice
[Desktop Chrome] › tests/e2e/general.spec.ts:17:5 › test general availability › /interoperabel is reachable and has a breadcrumb menu and title:
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 and 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
|
[Desktop Chrome] › tests/e2e/general.spec.ts:17:5 › test general availability › /interoperabel is reachable and has a breadcrumb menu and title:
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 and 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
|
[Desktop Chrome] › tests/e2e/resultPage.spec.ts:71:3 › test result page reasoning › one positive answer for digital and all unsure for interoperability leads to positive result with hint:
packages/dito/tests/e2e/resultPage.spec.ts#L1
2) [Desktop Chrome] › tests/e2e/resultPage.spec.ts:71:3 › test result page reasoning › one positive answer for digital and all unsure for interoperability leads to positive result with hint
Test timeout of 30000ms exceeded.
|
[Desktop Chrome] › tests/e2e/resultPage.spec.ts:71:3 › test result page reasoning › one positive answer for digital and all unsure for interoperability leads to positive result with hint:
packages/dito/tests/e2e/resultPage.spec.ts#L78
2) [Desktop Chrome] › tests/e2e/resultPage.spec.ts:71:3 › test result page reasoning › one positive answer for digital and all unsure for interoperability leads to positive result with hint
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/vorpruefung/verpflichtungen-fuer-beteiligte" until "load"
============================================================
76 | for (let i = 1; i < preCheck.questions.length; i++) {
77 | const question = preCheck.questions[i];
> 78 | await page.waitForURL(question.url);
| ^
79 | if (question.interoperability) {
80 | await page.getByLabel("Ich bin unsicher").click();
81 | } else {
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/dito/tests/e2e/resultPage.spec.ts:78:18
|
check-test-build-deploy (dito) / check-and-test-shared / check-and-test
Process completed with exit code 1.
|
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/components/TableOfContents.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/routes/_index.tsx#L71
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#L83
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/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/components/TableOfContents.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/routes/_index.tsx#L71
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#L83
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/routes/vorpruefung.$questionId/PreCheckNavigation.tsx#L25
Classname 'list-unstyled' is not a Tailwind CSS class!
|
🎭 Playwright Run Summary
1 failed
[Desktop Chrome] › tests/e2e/general.spec.ts:17:5 › test general availability › /interoperabel is reachable and has a breadcrumb menu and title
1 flaky
[Desktop Chrome] › tests/e2e/resultPage.spec.ts:71:3 › test result page reasoning › one positive answer for digital and all unsure for interoperability leads to positive result with hint
1 skipped
147 passed (3.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dito-playwright-e2e-test-results
|
1.89 MB |
|