Skip to content

Fix/schedule flow

Fix/schedule flow #24

Triggered via pull request November 1, 2024 15:26
Status Failure
Total duration 36s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
src/tests/integration/components/myGallery.test.js > MyGallery.vue > renders a loading indicator on mounted: src/tests/integration/components/myGallery.test.js#L21
TypeError: Cannot set properties of undefined (setting 'fulfilledRequests') ❯ createComponent src/tests/integration/components/myGallery.test.js:21:35 ❯ src/tests/integration/components/myGallery.test.js:40:21
src/tests/integration/components/myGallery.test.js > MyGallery.vue > fetches thumbnails for each session on mount: src/tests/integration/components/myGallery.test.js#L21
TypeError: Cannot set properties of undefined (setting 'fulfilledRequests') ❯ createComponent src/tests/integration/components/myGallery.test.js:21:35 ❯ src/tests/integration/components/myGallery.test.js:57:21
src/tests/integration/components/myGallery.test.js > MyGallery.vue > renders sessions with thumbnails after loading: src/tests/integration/components/myGallery.test.js#L21
TypeError: Cannot set properties of undefined (setting 'fulfilledRequests') ❯ createComponent src/tests/integration/components/myGallery.test.js:21:35 ❯ src/tests/integration/components/myGallery.test.js:87:21
src/tests/integration/components/myGallery.test.js > MyGallery.vue > renders sessions in the correct descending order: src/tests/integration/components/myGallery.test.js#L21
TypeError: Cannot set properties of undefined (setting 'fulfilledRequests') ❯ createComponent src/tests/integration/components/myGallery.test.js:21:35 ❯ src/tests/integration/components/myGallery.test.js:111:21
src/tests/integration/components/myGallery.test.js > MyGallery.vue > does not render sessions without thumbnails: src/tests/integration/components/myGallery.test.js#L21
TypeError: Cannot set properties of undefined (setting 'fulfilledRequests') ❯ createComponent src/tests/integration/components/myGallery.test.js:21:35 ❯ src/tests/integration/components/myGallery.test.js:130:21
src/tests/integration/components/schedulingSettings.test.js > SchedulingSettings.vue > calls fetchApiCall to get filter list on mount: src/tests/integration/components/schedulingSettings.test.js#L44
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ] Received: 1st spy call: Array [ - ObjectContaining { - "failCallback": Any<Function>, - "headers": ObjectContaining { - "Authorization": Any<String>, - }, + Object { + "failCallback": [Function failCallback], "method": "GET", - "successCallback": Any<Function>, - "url": "http://mock-api.com/opticalelementgroups/128/", + "successCallback": [Function successCallback], + "url": "http://mock-api.com/instruments", }, ] Number of calls: 1 ❯ src/tests/integration/components/schedulingSettings.test.js:44:26
src/tests/integration/components/schedulingSettings.test.js > SchedulingSettings.vue > emits exposuresUpdated when exposures are added: src/tests/integration/components/schedulingSettings.test.js#L130
AssertionError: expected [ { filter: 'F2', …(3) } ] to deeply equal [ { filter: 'F2', …(3) } ] - Expected + Received Array [ Object { "count": "15", "exposureTime": "30", "filter": "F2", - "filterName": "Filter 2", + "filterName": "", }, ] ❯ src/tests/integration/components/schedulingSettings.test.js:130:54
src/tests/integration/components/schedulingView.test.js > SchedulingView.vue > calls fetchApiCall to schedule observation: src/tests/integration/components/schedulingView.test.js#L114
TypeError: wrapper.vm.scheduleObservation is not a function ❯ src/tests/integration/components/schedulingView.test.js:114:22
src/tests/integration/components/upcomingBookings.test.js > UpcomingBookings.vue > fetches sessions on mount: src/tests/integration/components/upcomingBookings.test.js#L33
TypeError: Cannot set properties of undefined (setting 'upcomingRealTimeSessions') ❯ src/tests/integration/components/upcomingBookings.test.js:33:44
src/tests/integration/components/upcomingBookings.test.js > UpcomingBookings.vue > deletes a session on click: src/tests/integration/components/upcomingBookings.test.js#L33
TypeError: Cannot set properties of undefined (setting 'upcomingRealTimeSessions') ❯ src/tests/integration/components/upcomingBookings.test.js:33:44
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/