Update @playwright/test 1.47.1 → 1.58.1 (minor) #776
js-ci.yml
on: pull_request
Admin Client
48s
Keycloak JS
35s
UI Shared
58s
Account UI
1m 9s
Admin UI
1m 58s
Matrix: Admin UI E2E
Annotations
6 errors, 27 warnings, and 1 notice
|
Account UI E2E
Process completed with exit code 1.
|
|
[chromium] › test/my-resources.spec.ts:23:3 › My resources page › Share one with alice:
js/apps/account-ui/test/my-resources.spec.ts#L28
2) [chromium] › test/my-resources.spec.ts:23:3 › My resources page › Share one with alice ────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByText('This resource is not shared.')
Expected: visible
Timeout: 20000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 20000ms
- waiting for getByText('This resource is not shared.')
2 × locator resolved to <div data-testid="shared-with-none">This resource is not shared.</div>
- unexpected value "hidden"
26 |
27 | await page.getByTestId("expand-one").click();
> 28 | await expect(page.getByText("This resource is not shared.")).toBeVisible();
| ^
29 |
30 | await page.getByTestId("share-one").click();
31 | await page.getByTestId("users").click();
at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/my-resources.spec.ts:28:66
|
|
[chromium] › test/my-resources.spec.ts:23:3 › My resources page › Share one with alice:
js/apps/account-ui/test/my-resources.spec.ts#L28
2) [chromium] › test/my-resources.spec.ts:23:3 › My resources page › Share one with alice ────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByText('This resource is not shared.')
Expected: visible
Timeout: 20000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 20000ms
- waiting for getByText('This resource is not shared.')
2 × locator resolved to <div data-testid="shared-with-none">This resource is not shared.</div>
- unexpected value "hidden"
26 |
27 | await page.getByTestId("expand-one").click();
> 28 | await expect(page.getByText("This resource is not shared.")).toBeVisible();
| ^
29 |
30 | await page.getByTestId("share-one").click();
31 | await page.getByTestId("users").click();
at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/my-resources.spec.ts:28:66
|
|
[chromium] › test/my-resources.spec.ts:55:3 › My resources page › One is shared with alice:
js/apps/account-ui/test/my-resources.spec.ts#L61
1) [chromium] › test/my-resources.spec.ts:55:3 › My resources page › One is shared with alice ────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 1
- Array [
- "one",
- ]
+ Array []
59 | await page.getByTestId("sharedWithMe").click();
60 | const rowData = await page.getByTestId("row[0].name").allTextContents();
> 61 | expect(rowData).toEqual(["one"]);
| ^
62 | });
63 | });
64 |
at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/my-resources.spec.ts:61:21
|
|
Admin UI E2E (5, chrome)
Cypress tests: 1 failed
|
|
Status Check - Keycloak JavaScript CI
Process completed with exit code 1.
|
|
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
|
|
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/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/useFetch.ts#L43
React Hook useEffect has missing dependencies: 'adminClientCall', 'callback', and 'showBoundary'. Either include them or remove the dependency array. If 'adminClientCall' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
|
UI Shared:
js/libs/ui-shared/src/utils/useFetch.ts#L43
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
|
|
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/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/controls/table/KeycloakDataTable.tsx#L419
React Hook useMemo has missing dependencies: 'convertToColumns', 'getNodeText', 'isPaginated', and 'unPaginatedData'. Either include them or remove the dependency array
|
|
UI Shared:
js/libs/ui-shared/src/controls/table/KeycloakDataTable.tsx#L123
React Hook useEffect has missing dependencies: 'canSelectAll' and 'rows.length'. Either include them or remove the dependency array
|
|
Account UI:
js/apps/account-ui/test/personal-info/personal-info.spec.ts#L117
Unexpected use of the `.skip()` annotation
|
|
Account UI:
js/apps/account-ui/test/personal-info/personal-info.spec.ts#L81
Unexpected use of page.waitForSelector()
|
|
Account UI:
js/apps/account-ui/test/personal-info/personal-info.spec.ts#L67
Unexpected use of page.waitForSelector()
|
|
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
|
|
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/resources/ShareTheResource.tsx#L72
React Hook useEffect has a missing dependency: 'append'. Either include it or remove the dependency array
|
|
Account UI:
js/apps/account-ui/src/resources/EditTheResource.tsx#L42
React Hook useEffect has missing dependencies: 'permissions' and 'reset'. Either include them or remove the dependency array
|
|
Account UI:
js/apps/account-ui/src/oid4vci/Oid4Vci.tsx#L69
React Hook useEffect has missing dependencies: 'context', 'credentialsIssuer', 'initialSelected', and 'selectOptions'. Either include them or remove the dependency array
|
|
Admin UI:
js/apps/admin-ui/cypress/e2e/group_test.spec.ts#L264
Unexpected skipped mocha test
|
|
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/events_test.spec.ts#L71
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/clients_test.spec.ts#L599
Do not wait for arbitrary time periods
|
|
Admin UI:
js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L252
Do not wait for arbitrary time periods
|
|
Admin UI:
js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L242
Do not wait for arbitrary time periods
|
|
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/client_authorization_test.spec.ts#L180
Unexpected skipped mocha test
|
|
Admin UI:
js/apps/admin-ui/cypress/e2e/authentication_test.spec.ts#L84
Unexpected skipped mocha test
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › test/my-resources.spec.ts:55:3 › My resources page › One is shared with alice ─────
1 flaky
[chromium] › test/my-resources.spec.ts:23:3 › My resources page › Share one with alice ─────────
1 skipped
23 passed (1.6m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
account-ui-playwright-report
Expired
|
2.66 MB |
sha256:56a25e0601145d73f29a5de3da4358071d36277591045cb06ce23ae73fd66fd6
|
|
|
account-ui-server-log
|
2.28 KB |
sha256:a30e5ceb52117cddee9ea49c4f27c2925bf9d06667d9cb06d0b9f5919b04cf93
|
|
|
admin-ui-server-log-1-chrome
|
3.58 KB |
sha256:7a76f3bd35ce718a3b1b7b455f93b45e7784df2fa331e0f0031cdcbb22dc2f1a
|
|
|
admin-ui-server-log-2-chrome
|
3.25 KB |
sha256:406d421a1cae843b30cf03a2b2a81915296ba13386d87aa3ffa13f7b9e1746fb
|
|
|
admin-ui-server-log-3-chrome
|
2.66 KB |
sha256:50c16823da34d0eec45aeda5f41b9e7460871ac6ca29a91216ab6359fca4f602
|
|
|
admin-ui-server-log-4-chrome
|
2.29 KB |
sha256:cf0c256b30450884b6b2201ec7c173dcc175e35bfbe9a99e3d0c4144d338ed8b
|
|
|
admin-ui-server-log-5-chrome
|
2.49 KB |
sha256:ba0751a4713480bbfac929cf0cb7482d1c837d5754d4ab9c48fee360512b44d8
|
|
|
cypress-videos-1-chrome
Expired
|
5.07 MB |
sha256:275ade9f91dceb104bcd1d5b61eee321d58251ad4c96b20108113eb765437573
|
|
|
cypress-videos-5-chrome
Expired
|
24.5 MB |
sha256:b367a733560d08c783c43b7cbd9b9cb231eff156676b40687aa52d25bfc9837a
|
|
|
keycloak
|
140 MB |
sha256:d4abae98be1bd0e57a1d34084d85ab2cf9e25c97b08b81b3d3ef7b949a99d388
|
|
|
m2-keycloak.tzts
Expired
|
349 MB |
sha256:bd87b5a1f50d91b3c9c40c99c972c4ec4d609b7f3eddacd7fadb181e984f5cc3
|
|