docs(server): update developing server md #21586
Annotations
4 errors, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/format-bar.spec.ts#L276
1) format-bar.spec.ts:238:1 › should format quick bar be able to change background color ─────────
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
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- 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
274 |
275 | await expect(highlight.defaultColorBtn).toBeVisible();
> 276 | await highlight.defaultColorBtn.click();
| ^
277 |
278 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
279 | `${testInfo.title}_default_color.json`
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/format-bar.spec.ts:276:35
|
Run playwright tests:
blocksuite/tests-legacy/format-bar.spec.ts#L275
1) format-bar.spec.ts:238: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"
273 | );
274 |
> 275 | await expect(highlight.defaultColorBtn).toBeVisible();
| ^
276 | await highlight.defaultColorBtn.click();
277 |
278 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/format-bar.spec.ts:275:43
|
Run playwright tests:
blocksuite/tests-legacy/format-bar.spec.ts#L276
1) format-bar.spec.ts:238: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
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- 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
274 |
275 | await expect(highlight.defaultColorBtn).toBeVisible();
> 276 | await highlight.defaultColorBtn.click();
| ^
277 |
278 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
279 | `${testInfo.title}_default_color.json`
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/format-bar.spec.ts:276:35
|
Run playwright tests:
blocksuite/tests-legacy/utils/asserts.ts#L332
2) hotkey/hotkey.spec.ts:437:3 › keyboard operation to move block up or down › keep cursor ───────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 3, "length": 0}
Received: null
at utils/asserts.ts:332
330 | [richTextIndex, currentEditorIndex]
331 | );
> 332 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
333 | }
334 |
335 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:332:18)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/hotkey/hotkey.spec.ts:453:5
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright tests
2 flaky
format-bar.spec.ts:238:1 › should format quick bar be able to change background color ──────────
hotkey/hotkey.spec.ts:437:3 › keyboard operation to move block up or down › keep cursor ────────
1 skipped
95 passed (1.9m)
|
Loading