Skip to content

[Cypress] Add class statistics student tab tests #1636

[Cypress] Add class statistics student tab tests

[Cypress] Add class statistics student tab tests #1636

Triggered via push February 25, 2025 15:27
Status Failure
Total duration 9m 48s
Artifacts

staging.yaml

on: push
test  /  Check if new migrations have been added
2s
test / Check if new migrations have been added
test  /  Lint backend and frontend
1m 29s
test / Lint backend and frontend
test  /  Build anon sis-db and push to toska hub if new migrations have been added
0s
test / Build anon sis-db and push to toska hub if new migrations have been added
test  /  Build anon kone-db and push to toska hub if new migrations have been added
0s
test / Build anon kone-db and push to toska hub if new migrations have been added
test  /  Build anon user-db and push to toska hub if new migrations have been added
0s
test / Build anon user-db and push to toska hub if new migrations have been added
Matrix: test / test_end_to_end
test  /  Check services run correctly
1m 59s
test / Check services run correctly
Build and release frontend
0s
Build and release frontend
Build and release backend
0s
Build and release backend
Report deployment success to the "oodikone_notifications" channel
0s
Report deployment success to the "oodikone_notifications" channel
Report deployment failure to the "oodikone_notifications" channel
6s
Report deployment failure to the "oodikone_notifications" channel
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
test / Build backend
buildx failed with: ERROR: failed to solve: failed to compute cache key: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry.access.redhat.com/v2/ubi9/nodejs-22-minimal/blobs/sha256:80c19f20fc8ce2bc8208e50a055a16143c002033843792007fa237561f84a5b2: 502 Bad Gateway
test / Lint backend and frontend: services/frontend/src/components/ColorizedCoursesTable/FacultiesTab/index.jsx#L39
React Hook useMemo has a missing dependency: 'selectedSemesters'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/ColorizedCoursesTable/FacultiesTab/index.jsx#L65
React Hook useMemo has a missing dependency: 'totalRow'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/ColorizedCoursesTable/index.jsx#L51
React Hook useEffect has a missing dependency: 'semesterFilter'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/ColorizedCoursesTable/selectorComponents.jsx#L76
React Hook useMemo has a missing dependency: 'getTextIn'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/CustomOpenUniSearch.jsx#L37
React Hook useEffect has a missing dependency: 'searchList'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/CustomOpenUniSearch.jsx#L44
React Hook useEffect has a missing dependency: 'searchList'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/CustomOpenUniSearch.jsx#L51
React Hook useEffect has a missing dependency: 'searchList'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/CustomOpenUniSearch.jsx#L84
React Hook useEffect has missing dependencies: 'parseQueryFromUrl' and 'setValues'. Either include them or remove the dependency array. If 'setValues' changes too often, find the parent component that defines it and wrap that definition in useCallback
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/OpenUniPopulationResults/index.jsx#L232
React Hook useEffect has missing dependencies: 'getTextIn', 'isError', and 'isFetchingOrLoading'. Either include them or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomPopulation/index.jsx#L44
The 'allSemesters' logical expression could make the dependencies of useMemo Hook (at line 84) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'allSemesters' in its own useMemo() Hook