Skip to content

add local build keycloak support #24

add local build keycloak support

add local build keycloak support #24

Triggered via push December 23, 2023 08:45
Status Success
Total duration 13m 48s
Artifacts 3

js-ci.yml

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

Annotations

2 errors, 28 warnings, and 1 notice
[setup] › auth.setup.ts:7:1 › authenticate: js/apps/account-ui/test/auth.setup.ts#L1
1) [setup] › auth.setup.ts:7:1 › authenticate ──────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[setup] › auth.setup.ts:7:1 › authenticate: js/apps/account-ui/test/login.ts#L13
1) [setup] › auth.setup.ts:7:1 › authenticate ──────────────────────────────────────────────────── 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/auth.setup.ts:10:9
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
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
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
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
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
🎭 Playwright Run Summary
1 flaky [setup] › auth.setup.ts:7:1 › authenticate ───────────────────────────────────────────────────── 1 skipped 11 passed (53.8s)

Artifacts

Produced during runtime
Name Size
account-ui-playwright-report Expired
2.2 MB
account-ui-server-log Expired
3.65 KB
keycloak Expired
174 MB