Skip to content

Bump @testing-library/jest-dom from 6.4.6 to 6.4.8 #1822

Bump @testing-library/jest-dom from 6.4.6 to 6.4.8

Bump @testing-library/jest-dom from 6.4.6 to 6.4.8 #1822

Triggered via pull request July 24, 2024 00:46
Status Failure
Total duration 18m 39s
Artifacts 9

js-ci.yml

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

Annotations

5 errors, 23 warnings, and 1 notice
[chromium] › 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] › 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
[chromium] › 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] › my-resources.spec.ts:23:3 › My resources page › Share one with alice ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByText('This resource is not shared.') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByText('This resource is not shared.') 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] › 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] › my-resources.spec.ts:23:3 › My resources page › Share one with alice ───────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByText('This resource is not shared.') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByText('This resource is not shared.') - locator resolved to <div data-testid="shared-with-none">This resource is not shared.</div> - unexpected value "hidden" - 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
Account UI E2E
Process completed with exit code 1.
Status Check - Keycloak JavaScript CI
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [chromium] › my-resources.spec.ts:55:3 › My resources page › One is shared with alice ────────── 1 flaky [chromium] › my-resources.spec.ts:23:3 › My resources page › Share one with alice ────────────── 1 skipped 23 passed (1.6m)
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
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
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/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/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
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/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#L117
Unexpected use of the `.skip()` annotation
Admin UI: js/apps/admin-ui/cypress/e2e/authentication_test.spec.ts#L84
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#L224
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L234
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L581
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#L264
Unexpected skipped mocha test

Artifacts

Produced during runtime
Name Size
account-ui-playwright-report Expired
3.17 MB
account-ui-server-log
2.13 KB
admin-ui-server-log-1-chrome
2.43 KB
admin-ui-server-log-2-chrome
2.65 KB
admin-ui-server-log-3-chrome
2.57 KB
admin-ui-server-log-4-chrome
3.25 KB
admin-ui-server-log-5-chrome
1.93 KB
cypress-videos-4-chrome Expired
3.65 MB
keycloak
140 MB