Skip to content

fix: add tests

fix: add tests #1993

Triggered via push December 11, 2023 13:34
Status Failure
Total duration 4m 33s
Artifacts 1
Matrix: e2e
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 33 warnings
lint: src/components/SearchableOrgUnitTree/AsyncAutoComplete/getRestrictedOrgUnits.test.js#L1
Missing file extension "js" for "./getRestrictedOrgUnits"
lint
Process completed with exit code 1.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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: 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: 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: src/components/Form.js#L192
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
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: src/components/GroupForm/BulkUserManager/useQueries.js#L65
React Hook useMemo has a missing dependency: 'params'. Either include it or remove the dependency array
lint: src/components/RoleForm/MetadataAuthoritiesTableField.js#L79
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
lint: src/components/RoleForm/MetadataAuthoritiesTableField.js#L111
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
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: src/hooks/useValidator.js#L12
React Hook useCallback has a missing dependency: 'memoedValidator'. Either include it or remove the dependency array
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
e2e (1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, cypress-io/github-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
e2e (3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, cypress-io/github-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (3)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
e2e (2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, cypress-io/github-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
e2e (4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, cypress-io/github-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, c-hive/gha-yarn-cache@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
app-build Expired
16 MB