Skip to content

feature #2551 [Map] Add new helpers: DistanceUnit, DistanceCalculator… #5763

feature #2551 [Map] Add new helpers: DistanceUnit, DistanceCalculator…

feature #2551 [Map] Add new helpers: DistanceUnit, DistanceCalculator… #5763

Triggered via push February 7, 2025 23:56
Status Failure
Total duration 1m 32s
Artifacts

test.yaml

on: push
tests-php-components
3s
tests-php-components
JavaScript Coding Style
16s
JavaScript Coding Style
Check for UnBuilt JS Dist Files
49s
Check for UnBuilt JS Dist Files
tests-js
1m 1s
tests-js
Matrix: tests-php
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Unhandled error: src/LiveComponent/assets/test/tools.ts#L133
Error: An AJAX call was made that was not expected: ACTUAL REQUEST INFO: PROPS: {"comment":"donut","isSaved":false} ACTIONS: [{"name":"save","args":{}}] UPDATED: {"comment":"donut holes"} CHILDREN: {} UPDATED PROPS FROM PARENT: {} EXPECTED REQUEST #1: PROPS: {"comment":"donut","isSaved":false} ACTIONS: [{"name":"save","args":{}}] UPDATED: {} CHILDREN: null UPDATED PROPS FROM PARENT: null EXPECTED REQUEST #2: PROPS: {"comment":"donut","isSaved":false} ACTIONS: [] UPDATED: {"comment":"donut holes"} CHILDREN: null UPDATED PROPS FROM PARENT: null ❯ MockedBackend.makeRequest test/tools.ts:133:19 ❯ Component.performRequest src/Component/index.ts:287:44 ❯ Component.tryStartingRequest src/Component/index.ts:252:18 ❯ Component.render src/Component/index.ts:201:14 ❯ Timeout._onTimeout src/Component/index.ts:467:18 ❯ listOnTimeout node:internal/timers:581:17 ❯ processTimers node:internal/timers:519:7 This error originated in "test/controller/action.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "makes model updates wait until action Ajax call finishes". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
test/controller/action.test.ts > LiveController Action Tests > makes model updates wait until action Ajax call finishes: src/LiveComponent/assets/test/controller/action.test.ts#L178
Error: expect(element).toHaveTextContent() Expected element to have text content: Comment Saved! Received: donut Save <html> <head /> <body> <div data-controller="live" data-live-debounce-value="50" data-live-name-value="testing-component" data-live-props-value="{\"comment\":\"donut\",\"isSaved\":false}" data-live-url-value="http://localhost/components/_test_component_183" > <input data-model="comment" value="donut" /> <span> donut </span> <button data-action="live#action" data-live-action-param="save" > Save </button> </div> </body> </html> ❯ test/controller/action.test.ts:178:50 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../../node_modules/@testing-library/dom/dist/config.js:51:12 ❯ checkCallback ../../../node_modules/@testing-library/dom/dist/wait-for.js:127:77 ❯ Timeout.checkRealTimersCallback ../../../node_modules/@testing-library/dom/dist/wait-for.js:119:16
test/controller/action.test.ts > LiveController Action Tests > makes model updates wait until action Ajax call finishes: src/LiveComponent/assets/test/tools.ts#L37
Error: EXPECTED request was never made matching the following info: PROPS: {"comment":"donut","isSaved":false} ACTIONS: [{"name":"save","args":{}}] UPDATED: {} CHILDREN: null UPDATED PROPS FROM PARENT: null ❯ test/tools.ts:37:15 ❯ shutdownTest test/tools.ts:35:49 ❯ test/tools.ts:30:9 ❯ Module.shutdownTests test/tools.ts:29:11 ❯ test/controller/action.test.ts:16:9
test/controller/action.test.ts > LiveController Action Tests > batches multiple actions together: src/LiveComponent/assets/test/tools.ts#L37
Error: EXPECTED request was never made matching the following info: PROPS: {"comment":"donut","isSaved":false} ACTIONS: [{"name":"save","args":{}}] UPDATED: {} CHILDREN: null UPDATED PROPS FROM PARENT: null ❯ test/tools.ts:37:15 ❯ shutdownTest test/tools.ts:35:49 ❯ test/tools.ts:30:9 ❯ Module.shutdownTests test/tools.ts:29:11 ❯ test/controller/action.test.ts:16:9
tests-js
Process completed with exit code 1.