feat(presets): support linked page preview in TOC #14815
test.yaml
on: pull_request
Node.js Environment Compatibility
44s
Unit test
57s
Integration test
27s
Inline Editor E2E test
48s
Matrix: Playground E2E test
Annotations
44 errors and 11 notices
attachment.spec.ts:261:1 › should rename attachment works:
tests/attachment.spec.ts#L1
1) attachment.spec.ts:261:1 › should rename attachment works ─────────────────────────────────────
Test timeout of 30000ms exceeded.
|
attachment.spec.ts:261:1 › should rename attachment works:
tests/attachment.spec.ts#L95
1) attachment.spec.ts:261:1 › should rename attachment works ─────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.affine-attachment-options').locator('icon-button').filter({ hasText: 'Rename' })
- locator resolved to <icon-button size="32px" tabindex="0" data-test-disabled="fal…>…</icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
93 | await attachment.hover();
94 | await expect(options).toBeVisible();
> 95 | await renameBtn.click();
| ^
96 | await page.keyboard.press(`${SHORT_KEY}+a`, { delay: 50 });
97 | await pressBackspace(page);
98 | await type(page, newName);
at rename (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:95:23)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:292:3
|
clipboard.spec.ts:99:1 › clipboard copy paste title:
tests/utils/asserts.ts#L148
2) clipboard.spec.ts:99:1 › clipboard copy paste title ───────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "testtest"
Received: "testtes"
at utils/asserts.ts:148
146 | const inlineEditor = editor.locator('[data-block-is-title="true"]').first();
147 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 148 | expect(vText).toBe(text);
| ^
149 | }
150 |
151 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:148:17)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:110:3
|
clipboard.spec.ts:1018:1 › copy canvas element and text note in edgeless mode:
tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:1018:1 › copy canvas element and text note in edgeless mode ─────────────────
Test timeout of 30000ms exceeded.
|
clipboard.spec.ts:1018:1 › copy canvas element and text note in edgeless mode:
tests/utils/actions/drag.ts#L21
1) clipboard.spec.ts:1018:1 › copy canvas element and text note in edgeless mode ─────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:366:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1238:3)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1023:3
|
clipboard.spec.ts:1315:1 › paste parent block:
tests/utils/asserts.ts#L200
2) clipboard.spec.ts:1315:1 › paste parent block ─────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"This is parent",
"This is child 1",
- "This is child 2Thi",
+ "his is child 2his",
]
at utils/asserts.ts:200
198 | });
199 | }, currentEditorIndex);
> 200 | expect(actualTexts).toEqual(texts);
| ^
201 | }
202 |
203 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:200:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1334:3
|
selection/native.spec.ts:832:1 › select text in the same line with dragging rightward and press enter create block:
tests/selection/native.spec.ts#L1
1) selection/native.spec.ts:832:1 › select text in the same line with dragging rightward and press enter create block
Test timeout of 30000ms exceeded.
|
selection/native.spec.ts:832:1 › select text in the same line with dragging rightward and press enter create block:
tests/utils/actions/drag.ts#L21
1) selection/native.spec.ts:832:1 › select text in the same line with dragging rightward and press enter create block
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:848:3
|
selection/native.spec.ts:927:1 › Delete the blank line between two dividers:
tests/utils/asserts.ts#L226
2) selection/native.spec.ts:927:1 › Delete the blank line between two dividers ───────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:226
224 | export async function assertDivider(page: Page, count: number) {
225 | const actual = await page.locator('affine-divider').count();
> 226 | expect(actual).toEqual(count);
| ^
227 | }
228 |
229 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:226:18)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:940:3
|
selection/native.spec.ts:1550:1 › should keep native range selection when scrolling forward with the scroll wheel:
tests/utils/asserts.ts#L200
3) selection/native.spec.ts:1550:1 › should keep native range selection when scrolling forward with the scroll wheel
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -8,10 +8,10 @@
"",
"",
"",
"",
"",
- "",
"987",
"654",
"321",
+ "",
]
at utils/asserts.ts:200
198 | });
199 | }, currentEditorIndex);
> 200 | expect(actualTexts).toEqual(texts);
| ^
201 | }
202 |
203 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:200:23)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1571:3
|
linked-page.spec.ts:654:3 › linked page popover › should fuzzy search works:
tests/linked-page.spec.ts#L1
1) linked-page.spec.ts:654:3 › linked page popover › should fuzzy search works ───────────────────
Test timeout of 30000ms exceeded.
|
linked-page.spec.ts:654:3 › linked page popover › should fuzzy search works:
tests/utils/actions/click.ts#L71
1) linked-page.spec.ts:654:3 › linked page popover › should fuzzy search works ───────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.new-page-button')
- locator resolved to <div class="new-page-button">New Page</div>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
at utils/actions/click.ts:71
69 | await pagesBtn.click();
70 | }
> 71 | await page.locator('.new-page-button').click();
| ^
72 | const pageMetas = await page.evaluate(() => {
73 | const { workspace } = window;
74 | return workspace.meta.pageMetas;
at addNewPage (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/click.ts:71:42)
at /home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:672:19
|
paragraph.spec.ts:143:3 › backspace on line start of the first block (without surface):
tests/utils/asserts.ts#L306
2) paragraph.spec.ts:143:3 › backspace on line start of the first block (without surface) ────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "index": 0,
+ "index": 1,
"length": 0,
}
at utils/asserts.ts:306
304 | [richTextIndex, currentEditorIndex]
305 | );
> 306 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
307 | }
308 |
309 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:306:18)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:160:5
|
paragraph.spec.ts:1274:1 › press arrow up in the second line should move caret to the first line:
tests/utils/asserts.ts#L148
3) paragraph.spec.ts:1274:1 › press arrow up in the second line should move caret to the first line
Error: expect(received).toBe(expected) // Object.is equality
Expected: "1"
Received: "10"
at utils/asserts.ts:148
146 | const inlineEditor = editor.locator('[data-block-is-title="true"]').first();
147 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 148 | expect(vText).toBe(text);
| ^
149 | }
150 |
151 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:148:17)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:3
|
paragraph.spec.ts:1274:1 › press arrow up in the second line should move caret to the first line:
tests/utils/asserts.ts#L148
3) paragraph.spec.ts:1274:1 › press arrow up in the second line should move caret to the first line
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "1"
Received: "10"
at utils/asserts.ts:148
146 | const inlineEditor = editor.locator('[data-block-is-title="true"]').first();
147 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 148 | expect(vText).toBe(text);
| ^
149 | }
150 |
151 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:148:17)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:3
|
hotkey.spec.ts:986:1 › should cut work single line:
tests/hotkey.spec.ts#L1022
1) hotkey.spec.ts:986:1 › should cut work single line ────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "ell"
Received: ""
1020 | await undoByKeyboard(page);
1021 | const text = await readClipboardText(page);
> 1022 | expect(text).toBe('ell');
| ^
1023 | await assertStoreMatchJSX(
1024 | page,
1025 | `
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1022:16
|
hotkey.spec.ts:986:1 › should cut work single line:
tests/hotkey.spec.ts#L1
1) hotkey.spec.ts:986:1 › should cut work single line ────────────────────────────────────────────
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.
|
hotkey.spec.ts:1123:1 › should ctrl+enter create new block:
tests/utils/asserts.ts#L200
2) hotkey.spec.ts:1123: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:200
198 | });
199 | }, currentEditorIndex);
> 200 | expect(actualTexts).toEqual(texts);
| ^
201 | }
202 |
203 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:200:23)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1133:3
|
image.spec.ts:100:1 › can click and copy image:
tests/utils/asserts.ts#L221
3) image.spec.ts:100:1 › can click and copy image ────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:221
219 | const editor = getEditorLocator(page);
220 | const actual = await editor.locator('.resizable-img').count();
> 221 | expect(actual).toEqual(count);
| ^
222 | }
223 |
224 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:221:18)
at /home/runner/work/blocksuite/blocksuite/tests/image.spec.ts:110:3
|
edgeless/shape.spec.ts:467:1 › change shape style:
tests/edgeless/shape.spec.ts#L1
1) edgeless/shape.spec.ts:467:1 › change shape style ─────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:467:1 › change shape style:
tests/utils/actions/drag.ts#L21
1) edgeless/shape.spec.ts:467:1 › change shape style ─────────────────────────────────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicRectShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:356:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:474:3
|
edgeless/shortcut.spec.ts:67:1 › pressing the ESC key will return to the default state:
tests/edgeless/shortcut.spec.ts#L1
2) edgeless/shortcut.spec.ts:67:1 › pressing the ESC key will return to the default state ────────
Test timeout of 30000ms exceeded.
|
edgeless/shortcut.spec.ts:67:1 › pressing the ESC key will return to the default state:
tests/utils/actions/drag.ts#L21
2) edgeless/shortcut.spec.ts:67:1 › pressing the ESC key will return to the default state ────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicRectShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:356:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:76:3
|
paragraph.spec.ts:1330:1 › press arrow down in indent line should not move caret to the start of line:
tests/paragraph.spec.ts#L1
1) paragraph.spec.ts:1330:1 › press arrow down in indent line should not move caret to the start of line
Test timeout of 30000ms exceeded.
|
paragraph.spec.ts:1330:1 › press arrow down in indent line should not move caret to the start of line:
tests/utils/actions/keyboard.ts#L61
1) paragraph.spec.ts:1330:1 › press arrow down in indent line should not move caret to the start of line
Error: keyboard.press: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:61
59 | export async function pressArrowRight(page: Page, count = 1) {
60 | for (let i = 0; i < count; i++) {
> 61 | await page.keyboard.press('ArrowRight', { delay: 50 });
| ^
62 | }
63 | }
64 |
at pressArrowRight (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:61:25)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1370:9
|
paragraph.spec.ts:1375:1 › should placeholder works:
tests/paragraph.spec.ts#L1
2) paragraph.spec.ts:1375:1 › should placeholder works ───────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
paragraph.spec.ts:1375:1 › should placeholder works:
tests/utils/actions/misc.ts#L602
2) paragraph.spec.ts:1375:1 › should placeholder works ───────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('affine-editor-container').first().locator('.inline-editor').first()
at utils/actions/misc.ts:602
600 | const locator = editor.locator(RICH_TEXT_SELECTOR).nth(i);
601 | // need to set `force` to true when clicking on `affine-selected-blocks`
> 602 | await locator.click({ force: true, position: options?.clickPosition });
| ^
603 | }
604 |
605 | export async function focusRichTextEnd(page: Page, i = 0) {
at focusRichText (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:602:17)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1394:3
|
paragraph.spec.ts:1438:3 › press ArrowDown when cursor is at the last line of a block › move cursor to next block if this block is _not_ the last block in the page:
tests/paragraph.spec.ts#L1
3) paragraph.spec.ts:1438:3 › press ArrowDown when cursor is at the last line of a block › move cursor to next block if this block is _not_ the last block in the page
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.
|
selection/block.spec.ts:1385:1 › should un-select blocks when pressing escape:
tests/selection/block.spec.ts#L1403
4) selection/block.spec.ts:1385:1 › should un-select blocks when pressing escape ─────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.selected,affine-block-selection')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.selected,affine-block-selection')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
1401 | await pressSpace(page);
1402 | await clickListIcon(page, 0);
> 1403 | await expect(page.locator('.selected,affine-block-selection')).toHaveCount(1);
| ^
1404 |
1405 | await pressEscape(page);
1406 | await expect(page.locator('.selected,affine-block-selection')).toHaveCount(0);
at /home/runner/work/blocksuite/blocksuite/tests/selection/block.spec.ts:1403:66
|
selection/native.spec.ts:429:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L457
5) selection/native.spec.ts:429:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "arrow down test 1"
Received: "arrow down test 2"
455 | const indexTwo = await getInlineSelectionIndex(page);
456 | const textTwo = await getInlineSelectionText(page);
> 457 | expect(textTwo).toBe('arrow down test 1');
| ^
458 | expect(indexTwo).toBeGreaterThanOrEqual(12);
459 | expect(indexTwo).toBeLessThanOrEqual(17);
460 | await page.keyboard.press('ArrowDown');
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:457:19
|
selection/native.spec.ts:513:1 › cursor move up and down through note:
tests/selection/native.spec.ts#L525
6) selection/native.spec.ts:513:1 › cursor move up and down through note ─────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "4"
Received: "2"
523 | await pressArrowUp(page);
524 | currentId = (await getCursorBlockIdAndHeight(page))[0];
> 525 | expect(id).toBe(currentId);
| ^
526 | });
527 |
528 | test('double click choose words', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:525:14
|
database/database.spec.ts:102:1 › should modify the value when the input loses focus:
tests/database/database.spec.ts#L1
1) database/database.spec.ts:102:1 › should modify the value when the input loses focus ──────────
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.
|
database/database.spec.ts:116:1 › should rich-text column support soft enter:
tests/database/database.spec.ts#L1
2) database/database.spec.ts:116:1 › should rich-text column support soft enter ──────────────────
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.
|
edgeless/auto-complete.spec.ts:111:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note:
tests/utils/asserts.ts#L200
3) edgeless/auto-complete.spec.ts:111: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:200
198 | });
199 | }, currentEditorIndex);
> 200 | expect(actualTexts).toEqual(texts);
| ^
201 | }
202 |
203 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:200:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/auto-complete.spec.ts:127:7
|
edgeless/basic.spec.ts:174:1 › the tooltip of more button should be hidden when the action menu is shown:
tests/edgeless/basic.spec.ts#L197
4) edgeless/basic.spec.ts:174: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' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-tooltip')
195 |
196 | await page.mouse.move(moreButtonBox.x + 10, moreButtonBox.y + 10);
> 197 | await expect(tooltip).toBeVisible();
| ^
198 |
199 | await page.mouse.click(moreButtonBox.x + 10, moreButtonBox.y + 10);
200 | await expect(tooltip).toBeHidden();
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:197:25
|
edgeless/note.spec.ts:128:1 › resize note then auto size and custom size:
tests/edgeless/note.spec.ts#L1
1) edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ──────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/note.spec.ts:128:1 › resize note then auto size and custom size:
tests/utils/actions/drag.ts#L21
1) edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ──────────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:148:3
|
edgeless/note.spec.ts:128:1 › resize note then auto size and custom size:
tests/utils/asserts.ts#L789
1) edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 191
Received: 91
Expected precision: 0
Expected difference: < 0.5
Received difference: 100
at utils/asserts.ts:789
787 | expect(a.y).toBeCloseTo(b.y, 0);
788 | expect(a.w).toBeCloseTo(b.w, 0);
> 789 | expect(a.h).toBeCloseTo(b.h, 0);
| ^
790 | }
791 |
792 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) {
at assertRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:789:15)
at assertNoteRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:782:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:177:3
|
edgeless/note.spec.ts:128:1 › resize note then auto size and custom size:
tests/utils/asserts.ts#L789
1) edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 91
Received: 95
Expected precision: 0
Expected difference: < 0.5
Received difference: 4
at utils/asserts.ts:789
787 | expect(a.y).toBeCloseTo(b.y, 0);
788 | expect(a.w).toBeCloseTo(b.w, 0);
> 789 | expect(a.h).toBeCloseTo(b.h, 0);
| ^
790 | }
791 |
792 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) {
at assertRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:789:15)
at assertNoteRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:782:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:173:3
|
edgeless/brush.spec.ts:29:1 › change editor mode when brush color palette opening:
tests/edgeless/brush.spec.ts#L1
1) edgeless/brush.spec.ts:29:1 › change editor mode when brush color palette opening ─────────────
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.
|
edgeless/brush.spec.ts:44:1 › add brush element:
tests/edgeless/brush.spec.ts#L1
2) edgeless/brush.spec.ts:44:1 › add brush element ───────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/brush.spec.ts:44:1 › add brush element:
tests/utils/actions/drag.ts#L21
2) edgeless/brush.spec.ts:44:1 › add brush element ───────────────────────────────────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicBrushElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:346:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:51:3
|
edgeless/brush.spec.ts:56:1 › resize brush element:
tests/edgeless/brush.spec.ts#L1
3) edgeless/brush.spec.ts:56:1 › resize brush element ────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/brush.spec.ts:56:1 › resize brush element:
tests/utils/actions/drag.ts#L21
3) edgeless/brush.spec.ts:56:1 › resize brush element ────────────────────────────────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicBrushElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:346:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:63:3
|
🎭 Playwright Run Summary
12 passed (23.6s)
|
🎭 Playwright Run Summary
2 flaky
attachment.spec.ts:261:1 › should rename attachment works ──────────────────────────────────────
clipboard.spec.ts:99:1 › clipboard copy paste title ────────────────────────────────────────────
17 skipped
48 passed (2.8m)
|
🎭 Playwright Run Summary
2 flaky
clipboard.spec.ts:1018:1 › copy canvas element and text note in edgeless mode ──────────────────
clipboard.spec.ts:1315:1 › paste parent block ──────────────────────────────────────────────────
6 skipped
59 passed (3.1m)
|
🎭 Playwright Run Summary
3 flaky
selection/native.spec.ts:832:1 › select text in the same line with dragging rightward and press enter create block
selection/native.spec.ts:927:1 › Delete the blank line between two dividers ────────────────────
selection/native.spec.ts:1550:1 › should keep native range selection when scrolling forward with the scroll wheel
2 skipped
61 passed (3.3m)
|
🎭 Playwright Run Summary
3 flaky
linked-page.spec.ts:654:3 › linked page popover › should fuzzy search works ────────────────────
paragraph.spec.ts:143:3 › backspace on line start of the first block (without surface) ─────────
paragraph.spec.ts:1274:1 › press arrow up in the second line should move caret to the first line
2 skipped
61 passed (3.3m)
|
🎭 Playwright Run Summary
3 flaky
hotkey.spec.ts:986:1 › should cut work single line ─────────────────────────────────────────────
hotkey.spec.ts:1123:1 › should ctrl+enter create new block ─────────────────────────────────────
image.spec.ts:100:1 › can click and copy image ─────────────────────────────────────────────────
3 skipped
60 passed (3.3m)
|
🎭 Playwright Run Summary
2 flaky
edgeless/shape.spec.ts:467:1 › change shape style ──────────────────────────────────────────────
edgeless/shortcut.spec.ts:67:1 › pressing the ESC key will return to the default state ─────────
64 passed (3.6m)
|
🎭 Playwright Run Summary
6 flaky
paragraph.spec.ts:1330:1 › press arrow down in indent line should not move caret to the start of line
paragraph.spec.ts:1375:1 › should placeholder works ────────────────────────────────────────────
paragraph.spec.ts:1438:3 › press ArrowDown when cursor is at the last line of a block › move cursor to next block if this block is _not_ the last block in the page
selection/block.spec.ts:1385:1 › should un-select blocks when pressing escape ──────────────────
selection/native.spec.ts:429:1 › cursor move to up and down with children block ────────────────
selection/native.spec.ts:513:1 › cursor move up and down through note ──────────────────────────
1 skipped
59 passed (3.8m)
|
🎭 Playwright Run Summary
4 flaky
database/database.spec.ts:102:1 › should modify the value when the input loses focus ───────────
database/database.spec.ts:116:1 › should rich-text column support soft enter ───────────────────
edgeless/auto-complete.spec.ts:111:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
edgeless/basic.spec.ts:174:1 › the tooltip of more button should be hidden when the action menu is shown
63 passed (3.9m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ───────────────────────
1 skipped
65 passed (4.2m)
|
🎭 Playwright Run Summary
3 flaky
edgeless/brush.spec.ts:29:1 › change editor mode when brush color palette opening ──────────────
edgeless/brush.spec.ts:44:1 › add brush element ────────────────────────────────────────────────
edgeless/brush.spec.ts:56:1 › resize brush element ─────────────────────────────────────────────
3 skipped
61 passed (4.6m)
|