fix: sync PageMeta.title
with PageBlockModel.title
while importing markdown files
#13342
test.yaml
on: pull_request
Node.js Environment Compatibility
40s
Unit test
36s
Virgo E2E test
51s
Matrix: Playground E2E test
Annotations
12 errors and 11 notices
list.spec.ts:649:3 › toggle list › click toggle icon should collapsed list:
tests/list.spec.ts#L646
1) list.spec.ts:649:3 › toggle list › click toggle icon should collapsed list ────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: false
Received: true
644 |
645 | async function assertToggleIconVisible(toggleIcon: Locator, expected = true) {
> 646 | expect(await isToggleIconVisible(toggleIcon)).toBe(expected);
| ^
647 | }
648 |
649 | test('click toggle icon should collapsed list', async ({ page }) => {
at assertToggleIconVisible (/home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:646:51)
at /home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:733:5
|
selection/native.spec.ts:1088:1 › should select texts on cross-note dragging:
http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/utils/selection.ts#L3412
1) selection/native.spec.ts:1088:1 › should select texts on cross-note dragging ──────────────────
Error: Uncaught exception: "Error: Failed to get current range, rangeCount is 0"
Error: Failed to get current range, rangeCount is 0
at getCurrentNativeRange (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/utils/selection.ts:3412:11)
at AffineDragHandleWidget._getHoveredBlocks (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:14202:49)
at AffineDragHandleWidget._getDraggingAreaRect (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:14256:60)
at AffineDragHandleWidget._show (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:14067:63)
at AffineDragHandleWidget._pointerMoveOnBlock (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:13354:14)
at AffineDragHandleWidget._pointerMoveHandler (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:13398:12)
at UIEventDispatcher.run (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/block-std/src/event/dispatcher.ts:2468:49)
at PointerControl._moveOn (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/block-std/src/event/control/pointer.ts:1474:24)
at getCurrentNativeRange (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/utils/selection.ts:3412:11)
at AffineDragHandleWidget._getHoveredBlocks (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:14202:49)
at AffineDragHandleWidget._getDraggingAreaRect (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:14256:60)
at AffineDragHandleWidget._show (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:14067:63)
at AffineDragHandleWidget._pointerMoveOnBlock (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:13354:14)
at AffineDragHandleWidget._pointerMoveHandler (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/widgets/drag-handle/index.ts:13398:12)
at UIEventDispatcher.run (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/block-std/src/event/dispatcher.ts:2468:49)
at PointerControl._moveOn (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/block-std/src/event/control/pointer.ts:1474:24)
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:256:11)
|
database/database.spec.ts:88:1 › edit column title:
tests/database/database.spec.ts#L1
1) database/database.spec.ts:88:1 › edit column title ────────────────────────────────────────────
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
paragraph.spec.ts:1084:1 › press tab in paragraph children:
tests/paragraph.spec.ts#L1
1) paragraph.spec.ts:1084:1 › press tab in paragraph children ────────────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/auto-complete.spec.ts:108:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note:
tests/utils/asserts.ts#L187
2) edgeless/auto-complete.spec.ts:108:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "hello",
+ "ello",
]
at utils/asserts.ts:187
185 | });
186 | }, currentEditorIndex);
> 187 | expect(actualTexts).toEqual(texts);
| ^
188 | }
189 |
190 | export async function assertSelectionPath(page: Page, expected: string[]) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:187:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/auto-complete.spec.ts:124:7
|
paragraph.spec.ts:1084:1 › press tab in paragraph children:
tests/utils/actions/misc.ts#L237
1) paragraph.spec.ts:1084:1 › press tab in paragraph children ────────────────────────────────────
Error: page.goto: Page closed
=========================== logs ===========================
navigating to "http://localhost:5173/starter/?room=playwright-75289465&blobStorage=idb", waiting until "load"
============================================================
at utils/actions/misc.ts:237
235 | url.searchParams.set('room', room);
236 | url.searchParams.set('blobStorage', blobStorage?.join(',') || 'idb');
> 237 | await page.goto(url.toString());
| ^
238 | const readyPromise = waitForPageReady(page);
239 |
240 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:237:14)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1085:9
|
edgeless/basic.spec.ts:201:1 › the tooltip of more button should be hidden when the action menu is shown:
tests/edgeless/basic.spec.ts#L224
3) edgeless/basic.spec.ts:201:1 › the tooltip of more button should be hidden when the action menu is shown
Error: expect.toBeVisible: Error: strict mode violation: locator('.affine-tooltip') resolved to 2 elements:
1) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'Select V' })
2) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'More' })
=========================== logs ===========================
expect.toBeVisible with timeout 5000ms
waiting for locator('.affine-tooltip')
============================================================
222 |
223 | await page.mouse.move(moreButtonBox.x + 10, moreButtonBox.y + 10);
> 224 | await expect(tooltip).toBeVisible();
| ^
225 |
226 | await page.mouse.click(moreButtonBox.x + 10, moreButtonBox.y + 10);
227 | await expect(tooltip).toBeHidden();
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:224:25
|
hotkey.spec.ts:567:1 › should multiple line format hotkey work:
tests/hotkey.spec.ts#L1
1) hotkey.spec.ts:567:1 › should multiple line format hotkey work ────────────────────────────────
Test timeout of 30000ms exceeded.
|
hotkey.spec.ts:567:1 › should multiple line format hotkey work:
tests/utils/actions/misc.ts#L237
1) hotkey.spec.ts:567:1 › should multiple line format hotkey work ────────────────────────────────
Error: page.goto: Page closed
=========================== logs ===========================
navigating to "http://localhost:5173/starter/?room=playwright-25423818&blobStorage=idb", waiting until "load"
============================================================
at utils/actions/misc.ts:237
235 | url.searchParams.set('room', room);
236 | url.searchParams.set('blobStorage', blobStorage?.join(',') || 'idb');
> 237 | await page.goto(url.toString());
| ^
238 | const readyPromise = waitForPageReady(page);
239 |
240 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:237:14)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:568:9
|
hotkey.spec.ts:913:1 › should ctrl+enter create new block:
tests/utils/asserts.ts#L187
2) hotkey.spec.ts:913:1 › should ctrl+enter create new block ─────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- "1",
- "23",
+ "12",
+ "3",
]
at utils/asserts.ts:187
185 | });
186 | }, currentEditorIndex);
> 187 | expect(actualTexts).toEqual(texts);
| ^
188 | }
189 |
190 | export async function assertSelectionPath(page: Page, expected: string[]) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:187:23)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:923:3
|
attachment.spec.ts:112:1 › can insert attachment from slash menu:
tests/attachment.spec.ts#L1
1) attachment.spec.ts:112:1 › can insert attachment from slash menu ──────────────────────────────
Test timeout of 30000ms exceeded.
|
attachment.spec.ts:112:1 › can insert attachment from slash menu:
tests/utils/actions/misc.ts#L237
1) attachment.spec.ts:112:1 › can insert attachment from slash menu ──────────────────────────────
Error: page.goto: Page closed
=========================== logs ===========================
navigating to "http://localhost:5173/starter/?room=playwright-55434648&blobStorage=idb", waiting until "load"
============================================================
at utils/actions/misc.ts:237
235 | url.searchParams.set('room', room);
236 | url.searchParams.set('blobStorage', blobStorage?.join(',') || 'idb');
> 237 | await page.goto(url.toString());
| ^
238 | const readyPromise = waitForPageReady(page);
239 |
240 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:237:14)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:113:9
|
🎭 Playwright Run Summary
12 passed (21.7s)
|
🎭 Playwright Run Summary
1 skipped
65 passed (2.7m)
|
🎭 Playwright Run Summary
1 flaky
list.spec.ts:649:3 › toggle list › click toggle icon should collapsed list ─────────────────────
2 skipped
62 passed (2.8m)
|
🎭 Playwright Run Summary
2 skipped
63 passed (3.0m)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:1088:1 › should select texts on cross-note dragging ───────────────────
1 skipped
63 passed (2.9m)
|
🎭 Playwright Run Summary
1 skipped
65 passed (3.5m)
|
🎭 Playwright Run Summary
66 passed (4.0m)
|
🎭 Playwright Run Summary
1 flaky
paragraph.spec.ts:1084:1 › press tab in paragraph children ─────────────────────────────────────
64 passed (7.1m)
|
🎭 Playwright Run Summary
3 flaky
database/database.spec.ts:88:1 › edit column title ─────────────────────────────────────────────
edgeless/auto-complete.spec.ts:108:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
edgeless/basic.spec.ts:201:1 › the tooltip of more button should be hidden when the action menu is shown
1 skipped
62 passed (7.1m)
|
🎭 Playwright Run Summary
2 flaky
hotkey.spec.ts:567:1 › should multiple line format hotkey work ─────────────────────────────────
hotkey.spec.ts:913:1 › should ctrl+enter create new block ──────────────────────────────────────
2 skipped
61 passed (7.3m)
|
🎭 Playwright Run Summary
1 flaky
attachment.spec.ts:112:1 › can insert attachment from slash menu ───────────────────────────────
65 passed (7.7m)
|