Skip to content

fix: add tests, clean up #39

fix: add tests, clean up

fix: add tests, clean up #39

Triggered via push December 18, 2024 08:28
Status Failure
Total duration 7m 11s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

1 error and 14 warnings
e2e / e2e
Cypress tests: 25 failed
test / test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / lint: src/components/BulkMemberManager/hooks/useResults/useResults.js#L94
React Hook useEffect has a missing dependency: 'navigateToPage'. Either include it or remove the dependency array
lint / lint: src/components/BulkMemberManager/hooks/useResults/useResults.js#L102
React Hook useEffect has missing dependencies: 'transformQueryResponse' and 'updatePrevPageRef'. Either include them or remove the dependency array. If 'transformQueryResponse' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint / lint: src/components/BulkMemberManager/hooks/useResults/useResults.js#L106
React Hook useEffect has a missing dependency: 'navigateToPage'. Either include it or remove the dependency array
lint / lint: src/components/Form.js#L192
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
lint / lint: src/components/GroupForm/BulkUserManager/BulkUserManagerField.js#L12
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
lint / lint: src/components/GroupForm/BulkUserManager/useQueries.js#L65
React Hook useMemo has a missing dependency: 'params'. Either include it or remove the dependency array
lint / lint: src/components/RoleForm/MetadataAuthoritiesTableField.js#L79
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
lint / lint: src/components/RoleForm/MetadataAuthoritiesTableField.js#L111
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
lint / lint: src/components/SearchableOrgUnitTree/AsyncAutoComplete/useOrgUnitSearchResults.js#L61
React Hook useEffect has missing dependencies: 'currentUser', 'orgUnitType', and 'waiting'. Either include them or remove the dependency array. If 'setOrganisationUnits' needs the current value of 'orgUnitType', you can also switch to useReducer instead of useState and read 'orgUnitType' in the reducer
lint / lint: src/hooks/useValidator.js#L12
React Hook useCallback has a missing dependency: 'memoedValidator'. Either include it or remove the dependency array
lint-commits / lint-commits
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e2e / e2e
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636