Skip to content

Bump eslint-plugin-mocha from 10.4.1 to 10.4.2 in /js #1666

Bump eslint-plugin-mocha from 10.4.1 to 10.4.2 in /js

Bump eslint-plugin-mocha from 10.4.1 to 10.4.2 in /js #1666

Triggered via pull request April 11, 2024 00:11
Status Success
Total duration 13m 6s
Artifacts 3

js-ci.yml

on: pull_request
Check conditional workflows and jobs
6s
Check conditional workflows and jobs
Matrix: Admin UI E2E
Account UI E2E
3m 6s
Account UI E2E
Status Check - Keycloak JavaScript CI
8s
Status Check - Keycloak JavaScript CI
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 35 warnings, and 1 notice
[chromium] › personal-info/personal-info.spec.ts:18:3 › Personal info page › sets basic information: js/apps/account-ui/test/personal-info/personal-info.spec.ts#L1
1) [chromium] › personal-info/personal-info.spec.ts:18:3 › Personal info page › sets basic information Test timeout of 30000ms exceeded.
[chromium] › personal-info/personal-info.spec.ts:18:3 › Personal info page › sets basic information: js/apps/account-ui/test/personal-info/personal-info.spec.ts#L23
1) [chromium] › personal-info/personal-info.spec.ts:18:3 › Personal info page › sets basic information Error: locator.fill: Test timeout of 30000ms exceeded. Call log: - waiting for getByTestId('email') 21 | await login(page, user, "pwd"); 22 | > 23 | await page.getByTestId("email").fill(`${user}@somewhere.com`); | ^ 24 | await page.getByTestId("firstName").fill("Erik"); 25 | await page.getByTestId("lastName").fill("de Wit"); 26 | await page.getByTestId("save").click(); at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/personal-info/personal-info.spec.ts:23:37
Keycloak JS
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Admin Client
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Admin Client: js/libs/keycloak-admin-client/src/resources/agent.ts#L151
Unnecessary conditional, value is always truthy
Admin Client: js/libs/keycloak-admin-client/src/resources/agent.ts#L304
This callback should return a conditional, but return is always falsy
Admin Client: js/libs/keycloak-admin-client/src/resources/clients.ts#L701
Unnecessary conditional, value is always truthy
Admin Client: js/libs/keycloak-admin-client/src/utils/auth.ts#L78
Unnecessary conditional, value is always truthy
Keycloak Masthead
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L58
Unnecessary optional chain on a non-nullish value
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L66
Unnecessary optional chain on a non-nullish value
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L72
Unnecessary optional chain on a non-nullish value
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L107
Unnecessary optional chain on a non-nullish value
UI Shared
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
UI Shared: js/libs/ui-shared/src/user-profile/MultiInputComponent.tsx#L71
React Hook useMemo has a missing dependency: 'defaultValue'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/user-profile/MultiInputComponent.tsx#L98
React Hook useEffect has a missing dependency: 'name'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/utils/useStorageItem.ts#L23
React Hook useCallback has missing dependencies: 'keyName' and 'storageArea'. Either include them or remove the dependency array
UI Shared: js/libs/ui-shared/src/utils/useStorageItem.ts#L48
React Hook useEffect has a missing dependency: 'defaultValue'. Either include it or remove the dependency array. If 'setInnerValue' needs the current value of 'defaultValue', you can also switch to useReducer instead of useState and read 'defaultValue' in the reducer
UI Shared: js/libs/ui-shared/src/utils/useStoredState.ts#L34
React Hook useCallback has a missing dependency: 'setStoredValue'. Either include it or remove the dependency array
Account UI
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Account UI: js/apps/account-ui/src/resources/EditTheResource.tsx#L38
React Hook useEffect has missing dependencies: 'permissions' and 'reset'. Either include them or remove the dependency array
Account UI: js/apps/account-ui/src/resources/ShareTheResource.tsx#L66
React Hook useEffect has a missing dependency: 'append'. Either include it or remove the dependency array
Account UI: js/apps/account-ui/src/utils/usePromise.ts#L73
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
Account UI: js/apps/account-ui/src/utils/usePromise.ts#L73
React Hook useEffect has missing dependencies: 'callback' and 'factory'. Either include them or remove the dependency array. If 'callback' changes too often, find the parent component that defines it and wrap that definition in useCallback
Admin UI
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Admin UI: js/apps/admin-ui/cypress/e2e/client_scopes_test.spec.ts#L181
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L199
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L209
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L539
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/events_test.spec.ts#L33
Unexpected skipped mocha test
Admin UI: js/apps/admin-ui/cypress/e2e/events_test.spec.ts#L71
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/events_test.spec.ts#L106
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/group_test.spec.ts#L266
Unexpected skipped mocha test
Admin UI: js/apps/admin-ui/cypress/e2e/i18n_test.spec.ts#L43
Unnecessary conditional, value is always truthy
Build Keycloak
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Account UI E2E
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
1 flaky [chromium] › personal-info/personal-info.spec.ts:18:3 › Personal info page › sets basic information 1 skipped 19 passed (1.3m)

Artifacts

Produced during runtime
Name Size
account-ui-playwright-report Expired
2.39 MB
account-ui-server-log Expired
3.54 KB
keycloak Expired
169 MB