Skip to content

replace @update event with @click in AddOnFilters.vue and updated tes… #847

replace @update event with @click in AddOnFilters.vue and updated tes…

replace @update event with @click in AddOnFilters.vue and updated tes… #847

Triggered via push December 9, 2024 17:30
Status Failure
Total duration 1m 17s
Artifacts

unit_tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Unhandled error: src/lib/GraphClient/GraphClient.js#L32
AxiosError: Network Error ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:110:14 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41 ❯ processTicksAndRejections node:internal/process/task_queues:96:5 ❯ GraphQLClient.executeQuery src/lib/GraphClient/GraphClient.js:32:16 ❯ Proxy.getResults src/components/RefineSelection/RefineQuestionSelection.vue:229:18 ❯ Proxy.searchString src/components/RefineSelection/RefineQuestionSelection.vue:191:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json', 'Content-Type': 'application/json' }, method: 'post', baseURL: 'undefined/graphql', data: '{"query":"{searchTags(q:\"abcd\" taggedRecords:[123]){ label id definitions iri synonyms model parents{label id definitions iri synonyms }}}"}' }, code: 'ERR_NETWORK', status: undefined } This error originated in "tests/unit/components/RefineSelection/RefineQuestionSelection.spec.js" 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 "tests/unit/components/RefineSelection/RefineQuestionSelection.spec.js". 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.
Unhandled error: src/lib/GraphClient/GraphClient.js#L32
AxiosError: Network Error ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:110:14 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41 ❯ processTicksAndRejections node:internal/process/task_queues:96:5 ❯ GraphQLClient.executeQuery src/lib/GraphClient/GraphClient.js:32:16 ❯ Proxy.getResults src/components/RefineSelection/RefineQuestionSelection.vue:229:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json', 'Content-Type': 'application/json' }, method: 'post', baseURL: 'undefined/graphql', data: '{"query":"{searchTags(q:\"abcd\" taggedRecords:[123]){ label id definitions iri synonyms model parents{label id definitions iri synonyms }}}"}' }, code: 'ERR_NETWORK', status: undefined } This error originated in "tests/unit/components/RefineSelection/RefineQuestionSelection.spec.js" 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 "tests/unit/components/RefineSelection/RefineQuestionSelection.spec.js". 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.
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636