Use a typeahead select where there are ten or more options #9
js-ci.yml
on: push
Admin Client
55s
Keycloak JS
31s
Keycloak Masthead
43s
UI Shared
50s
Account UI
1m 7s
Admin UI
1m 44s
Matrix: Admin UI E2E
Annotations
3 errors, 25 warnings, and 1 notice
[chromium] › applications.spec.ts:61:3 › Applications test › Two applications:
js/apps/account-ui/test/applications.spec.ts#L74
1) [chromium] › applications.spec.ts:61:3 › Applications test › Two applications ─────────────────
Error: page.goto: net::ERR_ABORTED at http://localhost:8080/realms/master/account
Call log:
- navigating to "http://localhost:8080/realms/master/account", waiting until "load"
72 | await page.waitForURL(getAdminUrl());
73 |
> 74 | await page.goto(getRootPath());
| ^
75 | await page.waitForURL(getAccountUrl());
76 |
77 | await page.getByTestId("applications").click();
at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/applications.spec.ts:74:16
|
[chromium] › personal-info/personal-info.spec.ts:60:3 › Personal info with userprofile enabled › render long select options as typeahead:
js/apps/account-ui/test/personal-info/personal-info.spec.ts#L69
2) [chromium] › personal-info/personal-info.spec.ts:60:3 › Personal info with userprofile enabled › render long select options as typeahead
Error: expect(locator).toBeVisible()
Locator: getByText('Suomi')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Suomi')
67 | await page.locator("*:focus").pressSequentially("S");
68 | await expect(page.getByText("Italiano")).toHaveCount(0);
> 69 | expect(page.getByText("Suomi")).toBeVisible();
| ^
70 | expect(page.getByText('Create "S"')).not.toBeVisible();
71 | });
72 |
at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/personal-info/personal-info.spec.ts:69:37
|
[chromium] › personal-info/personal-info.spec.ts:73:3 › Personal info with userprofile enabled › render long list of locales as typeahead:
js/apps/account-ui/test/personal-info/personal-info.spec.ts#L82
3) [chromium] › personal-info/personal-info.spec.ts:73:3 › Personal info with userprofile enabled › render long list of locales as typeahead
Error: expect(locator).toBeVisible()
Locator: getByText('Suomi')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Suomi')
80 | await page.locator("*:focus").pressSequentially("S");
81 | await expect(page.getByText("Italiano")).toHaveCount(0);
> 82 | expect(page.getByText("Suomi")).toBeVisible();
| ^
83 | expect(page.getByText('Create "S"')).not.toBeVisible();
84 | });
85 |
at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/personal-info/personal-info.spec.ts:82:37
|
UI Shared:
js/libs/ui-shared/src/user-profile/MultiInputComponent.tsx#L72
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#L99
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
|
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
|
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#L68
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/authentication_test.spec.ts#L82
Unexpected skipped mocha test
|
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#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#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
|
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/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
3 flaky
[chromium] › applications.spec.ts:61:3 › Applications test › Two applications ──────────────────
[chromium] › personal-info/personal-info.spec.ts:60:3 › Personal info with userprofile enabled › render long select options as typeahead
[chromium] › personal-info/personal-info.spec.ts:73:3 › Personal info with userprofile enabled › render long list of locales as typeahead
1 skipped
22 passed (54.1s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
account-ui-playwright-report
Expired
|
4.49 MB |
|
account-ui-server-log
Expired
|
2.84 KB |
|
keycloak
Expired
|
160 MB |
|