Supporting OAuth 2.1 for confidential clients #27
js-ci.yml
on: push
Admin Client
49s
Keycloak JS
48s
Keycloak Masthead
40s
UI Shared
46s
Account UI
1m 12s
Admin UI
2m 7s
Matrix: Admin UI E2E
Annotations
11 errors, 36 warnings, and 1 notice
[setup] › auth.setup.ts:7:1 › authenticate:
js/libs/keycloak-admin-client/lib/utils/fetchWithError.js#L14
1) [setup] › auth.setup.ts:7:1 › authenticate ────────────────────────────────────────────────────
Error: Network response was not OK.
at ../../../libs/keycloak-admin-client/lib/utils/fetchWithError.js:14
12 | if (!response.ok) {
13 | const responseData = await parseResponse(response);
> 14 | throw new NetworkError("Network response was not OK.", {
| ^
15 | response,
16 | responseData,
17 | });
at fetchWithError (/home/runner/work/keycloak/keycloak/js/libs/keycloak-admin-client/lib/utils/fetchWithError.js:14:15)
at Agent.#requestWithParams (/home/runner/work/keycloak/keycloak/js/libs/keycloak-admin-client/lib/resources/agent.js:121:25)
at useTheme (/home/runner/work/keycloak/keycloak/js/apps/account-ui/test/admin-client.ts:20:3)
|
[setup] › auth.setup.ts:7:1 › authenticate:
js/libs/keycloak-admin-client/lib/utils/fetchWithError.js#L14
1) [setup] › auth.setup.ts:7:1 › authenticate ────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Network response was not OK.
at ../../../libs/keycloak-admin-client/lib/utils/fetchWithError.js:14
12 | if (!response.ok) {
13 | const responseData = await parseResponse(response);
> 14 | throw new NetworkError("Network response was not OK.", {
| ^
15 | response,
16 | responseData,
17 | });
at fetchWithError (/home/runner/work/keycloak/keycloak/js/libs/keycloak-admin-client/lib/utils/fetchWithError.js:14:15)
at Agent.#requestWithParams (/home/runner/work/keycloak/keycloak/js/libs/keycloak-admin-client/lib/resources/agent.js:121:25)
at useTheme (/home/runner/work/keycloak/keycloak/js/apps/account-ui/test/admin-client.ts:20:3)
|
[setup] › auth.setup.ts:7:1 › authenticate:
js/libs/keycloak-admin-client/lib/utils/fetchWithError.js#L14
1) [setup] › auth.setup.ts:7:1 › authenticate ────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Network response was not OK.
at ../../../libs/keycloak-admin-client/lib/utils/fetchWithError.js:14
12 | if (!response.ok) {
13 | const responseData = await parseResponse(response);
> 14 | throw new NetworkError("Network response was not OK.", {
| ^
15 | response,
16 | responseData,
17 | });
at fetchWithError (/home/runner/work/keycloak/keycloak/js/libs/keycloak-admin-client/lib/utils/fetchWithError.js:14:15)
at Agent.#requestWithParams (/home/runner/work/keycloak/keycloak/js/libs/keycloak-admin-client/lib/resources/agent.js:121:25)
at useTheme (/home/runner/work/keycloak/keycloak/js/apps/account-ui/test/admin-client.ts:20:3)
|
[personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information:
js/apps/account-ui/test/personal-info/personal-info.spec.ts#L1
2) [personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information
Test timeout of 30000ms exceeded.
|
[personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information:
js/apps/account-ui/test/login.ts#L13
2) [personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information
Error: locator.fill: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('Username')
at login.ts:13
11 | process.env.CI ? `/realms/${realm}/account` : `/?realm=${realm}`,
12 | );
> 13 | await page.getByLabel("Username").fill(username);
| ^
14 | await page.getByLabel("Password", { exact: true }).fill(password);
15 | await page.getByRole("button", { name: "Sign In" }).click();
16 | };
at login (/home/runner/work/keycloak/keycloak/js/apps/account-ui/test/login.ts:13:37)
at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/personal-info/personal-info.spec.ts:16:5
|
[personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information:
js/apps/account-ui/test/personal-info/personal-info.spec.ts#L1
2) [personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information:
js/apps/account-ui/test/login.ts#L13
2) [personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('Username')
at login.ts:13
11 | process.env.CI ? `/realms/${realm}/account` : `/?realm=${realm}`,
12 | );
> 13 | await page.getByLabel("Username").fill(username);
| ^
14 | await page.getByLabel("Password", { exact: true }).fill(password);
15 | await page.getByRole("button", { name: "Sign In" }).click();
16 | };
at login (/home/runner/work/keycloak/keycloak/js/apps/account-ui/test/login.ts:13:37)
at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/personal-info/personal-info.spec.ts:16:5
|
[personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information:
js/apps/account-ui/test/personal-info/personal-info.spec.ts#L1
2) [personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information:
js/apps/account-ui/test/login.ts#L13
2) [personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('Username')
at login.ts:13
11 | process.env.CI ? `/realms/${realm}/account` : `/?realm=${realm}`,
12 | );
> 13 | await page.getByLabel("Username").fill(username);
| ^
14 | await page.getByLabel("Password", { exact: true }).fill(password);
15 | await page.getByRole("button", { name: "Sign In" }).click();
16 | };
at login (/home/runner/work/keycloak/keycloak/js/apps/account-ui/test/login.ts:13:37)
at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/personal-info/personal-info.spec.ts:16:5
|
Account UI E2E
Process completed with exit code 1.
|
Status Check - Keycloak JavaScript CI
Process completed with exit code 1.
|
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#L140
Unnecessary conditional, value is always truthy
|
Admin Client:
js/libs/keycloak-admin-client/src/resources/agent.ts#L293
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#L77
Unnecessary conditional, value is always truthy
|
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#L36
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#L64
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
|
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#L66
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#L89
React Hook useEffect has a missing dependency: 'name'. Either include it or remove the dependency array
|
UI Shared:
js/libs/ui-shared/src/user-profile/UserProfileFields.tsx#L187
React Hook useMemo has a missing dependency: 'value'. 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
|
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_authorization_test.spec.ts#L180
Unexpected skipped mocha test
|
Admin UI:
js/apps/admin-ui/cypress/e2e/client_scopes_test.spec.ts#L179
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#L538
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
2 failed
[setup] › auth.setup.ts:7:1 › authenticate ─────────────────────────────────────────────────────
[personal-info] › personal-info/personal-info.spec.ts:15:3 › Personal info page › sets basic information
1 skipped
6 did not run
4 passed (1.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
account-ui-playwright-report
Expired
|
1.67 MB |
|
account-ui-server-log
Expired
|
12.5 KB |
|
keycloak
Expired
|
174 MB |
|