Web E2E test #9
Annotations
3 errors, 6 warnings, and 1 notice
[chromium] › project/item/fields/float.spec.ts:16:1 › Float field creating and updating has succeeded:
web/e2e/common/notification.ts#L7
1) [chromium] › project/item/fields/float.spec.ts:16:1 › Float field creating and updating has succeeded
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByRole('alert').last().getByRole('img')
Expected string: "check-circle"
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('alert').last().getByRole('img')
at common/notification.ts:7
5 | export async function closeNotification(page: Page, isSuccess = true) {
6 | const text = isSuccess ? "check-circle" : "close-circle";
> 7 | await expect(page.getByRole("alert").last().getByRole("img")).toHaveAttribute("aria-label", text);
| ^
8 | await page
9 | .locator(".ant-notification-notice")
10 | .last()
at closeNotification (/home/runner/work/reearth-cms/reearth-cms/web/e2e/common/notification.ts:7:65)
at createModel (/home/runner/work/reearth-cms/reearth-cms/web/e2e/project/utils/model.ts:16:9)
at /home/runner/work/reearth-cms/reearth-cms/web/e2e/project/item/fields/float.spec.ts:9:3
|
[chromium] › project/item/fields/float.spec.ts:16:1 › Float field creating and updating has succeeded:
web/e2e/project/item/fields/float.spec.ts#L12
1) [chromium] › project/item/fields/float.spec.ts:16:1 › Float field creating and updating has succeeded
Test timeout of 30000ms exceeded while running "afterEach" hook.
10 | });
11 |
> 12 | test.afterEach(async ({ page }) => {
| ^
13 | await deleteProject(page);
14 | });
15 |
at /home/runner/work/reearth-cms/reearth-cms/web/e2e/project/item/fields/float.spec.ts:12:6
|
[chromium] › project/item/fields/float.spec.ts:16:1 › Float field creating and updating has succeeded:
web/e2e/project/utils/project.ts#L18
1) [chromium] › project/item/fields/float.spec.ts:16:1 › Float field creating and updating has succeeded
Error: locator.click: Test ended.
Call log:
- waiting for getByText('Settings').first()
- locator resolved to <span class="ant-menu-title-content">Settings</span>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</div> from <div>…</div> subtree intercepts pointer events
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="ant-modal-wrap">…</di
|
playwright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Slow Test:
web/[chromium] › project/request.spec.ts#L1
web/[chromium] › project/request.spec.ts took 2.0m
|
Slow Test:
web/[chromium] › project/content/content.spec.ts#L1
web/[chromium] › project/content/content.spec.ts took 1.5m
|
Slow Test:
web/[chromium] › project/schema.spec.ts#L1
web/[chromium] › project/schema.spec.ts took 1.4m
|
Slow Test:
web/[chromium] › project/asset.spec.ts#L1
web/[chromium] › project/asset.spec.ts took 1.2m
|
Slow Test:
web/[chromium] › project/item/fields/group.spec.ts#L1
web/[chromium] › project/item/fields/group.spec.ts took 58.0s
|
🎭 Playwright Run Summary
1 flaky
[chromium] › project/item/fields/float.spec.ts:16:1 › Float field creating and updating has succeeded
82 passed (22.1m)
|