Better message when updating users when import is disabled #1352
Annotations
4 errors and 1 notice
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests
Process completed with exit code 1.
|
Run Playwright tests
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)
|
Loading