refactor(store): add ref count to doc #8750
Annotations
3 errors, 2 warnings, and 1 notice
Run playwright test:
tests/format-bar.spec.ts#L276
1) format-bar.spec.ts:239:1 › should format quick bar be able to change background color ─────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget').getByTestId('unset')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
9 × locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
274 | );
275 |
> 276 | await expect(highlight.defaultColorBtn).toBeVisible();
| ^
277 | await highlight.defaultColorBtn.click();
278 |
279 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:276:43
|
Run playwright test:
tests/format-bar.spec.ts#L276
1) format-bar.spec.ts:239:1 › should format quick bar be able to change background color ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget').getByTestId('unset')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
9 × locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
274 | );
275 |
> 276 | await expect(highlight.defaultColorBtn).toBeVisible();
| ^
277 | await highlight.defaultColorBtn.click();
278 |
279 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:276:43
|
Run playwright test:
tests/format-bar.spec.ts#L277
1) format-bar.spec.ts:239:1 › should format quick bar be able to change background color ─────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 100ms
9 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 500ms
275 |
276 | await expect(highlight.defaultColorBtn).toBeVisible();
> 277 | await highlight.defaultColorBtn.click();
| ^
278 |
279 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
280 | `${testInfo.title}_default_color.json`
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:277:35
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Upload E2E test coverage results
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Run playwright test
1 flaky
format-bar.spec.ts:239:1 › should format quick bar be able to change background color ──────────
48 passed (1.2m)
|
Loading