fix(blocks): redundant dividers should be filtered out (#7754) #3038
test.yml
on: push
Annotations
73 errors, 15 warnings, and 11 notices
selection/native.spec.ts:571:1 › select all text with dragging and delete by forwardDelete:
tests/selection/native.spec.ts#L1
1) selection/native.spec.ts:571:1 › select all text with dragging and delete by forwardDelete ────
Test timeout of 40000ms exceeded.
|
selection/native.spec.ts:571:1 › select all text with dragging and delete by forwardDelete:
tests/utils/actions/misc.ts#L288
1) selection/native.spec.ts:571:1 › select all text with dragging and delete by forwardDelete ────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-1e914082-c236-4962-88ac-15c9ad2a0b8c&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:574:9
|
selection/native.spec.ts:588:1 › select all text with keyboard delete:
tests/selection/native.spec.ts#L1
2) selection/native.spec.ts:588:1 › select all text with keyboard delete ─────────────────────────
Test timeout of 40000ms exceeded.
|
selection/native.spec.ts:588:1 › select all text with keyboard delete:
tests/utils/actions/misc.ts#L288
2) selection/native.spec.ts:588:1 › select all text with keyboard delete ─────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-4b7ce605-06f4-4692-8438-064b10e19752&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:589:9
|
selection/native.spec.ts:616:1 › select text leaving a few words in the last line and delete:
tests/selection/native.spec.ts#L1
3) selection/native.spec.ts:616:1 › select text leaving a few words in the last line and delete ──
Test timeout of 40000ms exceeded.
|
selection/native.spec.ts:616:1 › select text leaving a few words in the last line and delete:
tests/utils/actions/misc.ts#L288
3) selection/native.spec.ts:616:1 › select text leaving a few words in the last line and delete ──
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-dac15c42-60a5-4550-af10-c1348737ce9d&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:619:9
|
slash-menu.spec.ts:372:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow:
tests/slash-menu.spec.ts#L395
4) slash-menu.spec.ts:372:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
Expected string: "true"
Received string: "false"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="f…>…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="f…>…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="f…>…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="f…>…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="f…>…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="f…>…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="f…>…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="f…>…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="f…>…</icon-button>
- unexpected value "false"
393 | await type(page, '/');
394 | await pressArrowDown(page, 4);
> 395 | await expect(slashItems.nth(4)).toHaveAttribute('hover', 'true');
| ^
396 | await expect(slashItems.nth(4).locator('.text')).toHaveText([
397 | 'Other Headings',
398 | ]);
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:395:37
|
paragraph.spec.ts:248:1 › split paragraph block by enter:
tests/paragraph.spec.ts#L1
1) paragraph.spec.ts:248:1 › split paragraph block by enter ──────────────────────────────────────
Test timeout of 40000ms exceeded.
|
paragraph.spec.ts:248:1 › split paragraph block by enter:
tests/utils/actions/misc.ts#L288
1) paragraph.spec.ts:248:1 › split paragraph block by enter ──────────────────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-5259757c-3de9-4c15-bed5-6b6afc0ace62&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:249:9
|
paragraph.spec.ts:277:1 › split paragraph block with selected text by enter:
tests/paragraph.spec.ts#L1
2) paragraph.spec.ts:277:1 › split paragraph block with selected text by enter ───────────────────
Test timeout of 40000ms exceeded.
|
paragraph.spec.ts:277:1 › split paragraph block with selected text by enter:
tests/utils/actions/misc.ts#L288
2) paragraph.spec.ts:277:1 › split paragraph block with selected text by enter ───────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-a62fb5f7-325b-4784-8824-7853b6c568a6&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:278:9
|
paragraph.spec.ts:312:1 › add multi line by soft enter:
tests/paragraph.spec.ts#L1
3) paragraph.spec.ts:312:1 › add multi line by soft enter ────────────────────────────────────────
Test timeout of 40000ms exceeded.
|
paragraph.spec.ts:312:1 › add multi line by soft enter:
tests/utils/actions/misc.ts#L288
3) paragraph.spec.ts:312:1 › add multi line by soft enter ────────────────────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-0ef889d9-9c98-4fa8-b239-37506086da9e&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:313:9
|
selection/native.spec.ts:66:1 › click on blank area:
tests/utils/asserts.ts#L317
4) selection/native.spec.ts:66:1 › click on blank area ───────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
"index": 0,
- "length": 0,
+ "length": 3,
}
at utils/asserts.ts:317
315 | [richTextIndex, currentEditorIndex]
316 | );
> 317 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
318 | }
319 |
320 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:317:18)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:85:3
|
code.spec.ts:266:1 › use more than three backticks can not create code block:
tests/code.spec.ts#L1
1) code.spec.ts:266:1 › use more than three backticks can not create code block ──────────────────
Test timeout of 40000ms exceeded.
|
code.spec.ts:266:1 › use more than three backticks can not create code block:
tests/utils/actions/misc.ts#L288
1) code.spec.ts:266:1 › use more than three backticks can not create code block ──────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-3daf7f72-e923-4d14-851a-f404f2b71868&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/code.spec.ts:269:9
|
code.spec.ts:283:1 › use shortcut can create code block:
tests/code.spec.ts#L1
2) code.spec.ts:283:1 › use shortcut can create code block ───────────────────────────────────────
Test timeout of 40000ms exceeded.
|
code.spec.ts:283:1 › use shortcut can create code block:
tests/utils/actions/misc.ts#L288
2) code.spec.ts:283:1 › use shortcut can create code block ───────────────────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-ac351404-f7ef-4bc4-b78f-7731e4a40062&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/code.spec.ts:284:9
|
code.spec.ts:294:1 › change code language can work:
tests/code.spec.ts#L1
3) code.spec.ts:294:1 › change code language can work ────────────────────────────────────────────
Test timeout of 40000ms exceeded.
|
code.spec.ts:294:1 › change code language can work:
tests/utils/actions/misc.ts#L288
3) code.spec.ts:294:1 › change code language can work ────────────────────────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-593be2ba-45ed-4f33-8507-4c0b343b51a2&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/code.spec.ts:295:9
|
image.spec.ts:158:1 › should support the enter key of image caption:
tests/image.spec.ts#L1
1) image.spec.ts:158:1 › should support the enter key of image caption ───────────────────────────
Test timeout of 40000ms exceeded.
|
image.spec.ts:158:1 › should support the enter key of image caption:
tests/utils/actions/misc.ts#L288
1) image.spec.ts:158:1 › should support the enter key of image caption ───────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-e43f5db2-2dd4-4faf-b787-09034291cae4&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/image.spec.ts:159:9
|
image.spec.ts:177:1 › popup menu should follow position of image when scrolling:
tests/image.spec.ts#L1
2) image.spec.ts:177:1 › popup menu should follow position of image when scrolling ───────────────
Test timeout of 40000ms exceeded.
|
image.spec.ts:177:1 › popup menu should follow position of image when scrolling:
tests/utils/actions/misc.ts#L288
2) image.spec.ts:177:1 › popup menu should follow position of image when scrolling ───────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-4ee48404-a8e8-4302-97c9-5d8ff238fca6&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/image.spec.ts:180:9
|
image.spec.ts:229:1 › select image should not show format bar:
tests/image.spec.ts#L1
3) image.spec.ts:229:1 › select image should not show format bar ─────────────────────────────────
Test timeout of 40000ms exceeded.
|
image.spec.ts:229:1 › select image should not show format bar:
tests/utils/actions/misc.ts#L288
3) image.spec.ts:229:1 › select image should not show format bar ─────────────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-84eff98c-41f6-4aa0-b24e-b534fc9361e5&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/image.spec.ts:230:9
|
link.spec.ts:425:1 › convert link to card:
tests/link.spec.ts#L440
4) link.spec.ts:425:1 › convert link to card ─────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-link-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-link-popover')
438 | await waitNextFrame(page);
439 | const linkPopoverLocator = page.locator('.affine-link-popover');
> 440 | await expect(linkPopoverLocator).toBeVisible();
| ^
441 | const linkPopoverInput = page.locator('.affine-link-popover-input');
442 | await expect(linkPopoverInput).toBeVisible();
443 | await type(page, link);
at /home/runner/work/blocksuite/blocksuite/tests/link.spec.ts:440:36
|
paragraph.spec.ts:80:1 › init paragraph by page title enter in middle:
tests/utils/asserts.ts#L153
5) paragraph.spec.ts:80:1 › init paragraph by page title enter in middle ─────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "he"
Received: "hello"
at utils/asserts.ts:153
151 | const inlineEditor = editor.locator('.doc-title-container').first();
152 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 153 | expect(vText).toBe(text);
| ^
154 | }
155 |
156 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:153:17)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:91:3
|
edgeless/group.spec.ts:412:5 › group › delete › delete group in group:
tests/edgeless/group.spec.ts#L352
1) edgeless/group.spec.ts:412:5 › group › delete › delete group in group ─────────────────────────
Test timeout of 40000ms exceeded while running "beforeEach" hook.
350 |
351 | test.describe('delete', () => {
> 352 | test.beforeEach(async ({ page }) => {
| ^
353 | await init(page);
354 | });
355 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:352:10
|
edgeless/group.spec.ts:412:5 › group › delete › delete group in group:
tests/utils/actions/misc.ts#L288
1) edgeless/group.spec.ts:412:5 › group › delete › delete group in group ─────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-e4cdc2d4-4289-428c-aa3e-ed46c82fda38&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at edgelessCommonSetup (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1641:9)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:46:11)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:353:13
|
edgeless/group.spec.ts:461:5 › group › group title › edit group title by component toolbar:
tests/edgeless/group.spec.ts#L455
2) edgeless/group.spec.ts:461:5 › group › group title › edit group title by component toolbar ────
Test timeout of 40000ms exceeded while running "beforeEach" hook.
453 |
454 | test.describe('group title', () => {
> 455 | test.beforeEach(async ({ page }) => {
| ^
456 | await init(page);
457 | await selectAllByKeyboard(page);
458 | await triggerComponentToolbarAction(page, 'addGroup');
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:455:10
|
edgeless/group.spec.ts:461:5 › group › group title › edit group title by component toolbar:
tests/utils/actions/misc.ts#L288
2) edgeless/group.spec.ts:461:5 › group › group title › edit group title by component toolbar ────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-21265ab5-2efe-4163-a5b7-7e9277271d90&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at edgelessCommonSetup (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1641:9)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:46:11)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:456:13
|
edgeless/group.spec.ts:470:5 › group › group title › edit group title by dbclick:
tests/edgeless/group.spec.ts#L455
3) edgeless/group.spec.ts:470:5 › group › group title › edit group title by dbclick ──────────────
Test timeout of 40000ms exceeded while running "beforeEach" hook.
453 |
454 | test.describe('group title', () => {
> 455 | test.beforeEach(async ({ page }) => {
| ^
456 | await init(page);
457 | await selectAllByKeyboard(page);
458 | await triggerComponentToolbarAction(page, 'addGroup');
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:455:10
|
edgeless/group.spec.ts:470:5 › group › group title › edit group title by dbclick:
tests/utils/actions/misc.ts#L288
3) edgeless/group.spec.ts:470:5 › group › group title › edit group title by dbclick ──────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-f11f76ef-5553-451e-b58e-1ebcd41dce2b&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at edgelessCommonSetup (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1641:9)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:46:11)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:456:13
|
format-bar.spec.ts:160:1 › should format quick bar can only display one at a time:
tests/format-bar.spec.ts#L1
1) format-bar.spec.ts:160:1 › should format quick bar can only display one at a time ─────────────
Test timeout of 40000ms exceeded.
|
format-bar.spec.ts:160:1 › should format quick bar can only display one at a time:
tests/utils/actions/misc.ts#L288
1) format-bar.spec.ts:160:1 › should format quick bar can only display one at a time ─────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-fb5f84e5-2e64-466c-b3a3-f51a70405840&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:163:9
|
format-bar.spec.ts:174:1 › should format quick bar hide when type text:
tests/format-bar.spec.ts#L1
2) format-bar.spec.ts:174:1 › should format quick bar hide when type text ────────────────────────
Test timeout of 40000ms exceeded.
|
format-bar.spec.ts:174:1 › should format quick bar hide when type text:
tests/utils/actions/misc.ts#L288
2) format-bar.spec.ts:174:1 › should format quick bar hide when type text ────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-f20cca41-df26-478b-a5ef-c0e9b888ea00&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:175:9
|
format-bar.spec.ts:185:1 › should format quick bar be able to format text:
tests/format-bar.spec.ts#L1
3) format-bar.spec.ts:185:1 › should format quick bar be able to format text ─────────────────────
Test timeout of 40000ms exceeded.
|
format-bar.spec.ts:185:1 › should format quick bar be able to format text:
tests/utils/actions/misc.ts#L288
3) format-bar.spec.ts:185:1 › should format quick bar be able to format text ─────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-ee0ae8e4-0b67-430b-bf74-ae53f2926cdd&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:186:9
|
format-bar.spec.ts:316:1 › should format quick bar be able to change background color:
tests/format-bar.spec.ts#L437
4) format-bar.spec.ts:316: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 visible
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #13
- waiting 500ms
435 |
436 | await expect(highlight.defaultColorBtn).toBeVisible();
> 437 | await highlight.defaultColorBtn.click();
| ^
438 |
439 | await assertStoreMatchJSX(
440 | page,
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:437:35
|
hotkey.spec.ts:862:1 › should cut work single line:
tests/utils/asserts.ts#L722
5) hotkey.spec.ts:862:1 › should cut work single line ────────────────────────────────────────────
Error: <affine:note
prop:background="--affine-note-background-blue"
prop:displayMode="both"
prop:edgeless={
Object {
"style": Object {
"borderRadius": 0,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-sticker",
},
}
}
prop:hidden={false}
prop:index="a0"
>
<affine:paragraph
prop:text="hello"
prop:type="text"
/>
</affine:note>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -13,9 +13,9 @@
}
prop:hidden={false}
prop:index="a0"
>
<affine:paragraph
- prop:text="ho"
+ prop:text="hello"
prop:type="text"
/>
</affine:note>
at utils/asserts.ts:722
720 | printFunctionName: false,
721 | });
> 722 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
723 | }
724 |
725 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:722:38)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:871:3
|
database/database.spec.ts:768:3 › readonly mode › should hide selection after switch to readonly mode:
tests/database/database.spec.ts#L1
1) database/database.spec.ts:768:3 › readonly mode › should hide selection after switch to readonly mode
Test timeout of 40000ms exceeded.
|
database/database.spec.ts:768:3 › readonly mode › should hide selection after switch to readonly mode:
tests/utils/actions/misc.ts#L288
1) database/database.spec.ts:768:3 › readonly mode › should hide selection after switch to readonly mode
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-01915cdf-1926-4f1e-a498-7c55eb35ab67&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/database/database.spec.ts:771:11
|
database/selection.spec.ts:41:3 › focus › should support move focus by arrow key:
tests/database/selection.spec.ts#L1
2) database/selection.spec.ts:41:3 › focus › should support move focus by arrow key ──────────────
Test timeout of 40000ms exceeded.
|
database/selection.spec.ts:41:3 › focus › should support move focus by arrow key:
tests/utils/actions/misc.ts#L288
2) database/selection.spec.ts:41:3 › focus › should support move focus by arrow key ──────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-445206a7-4162-433c-80eb-f4bce04a4feb&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/database/selection.spec.ts:42:11
|
database/selection.spec.ts:53:3 › focus › should support multi row selection:
tests/database/selection.spec.ts#L1
3) database/selection.spec.ts:53:3 › focus › should support multi row selection ──────────────────
Test timeout of 40000ms exceeded.
|
database/selection.spec.ts:53:3 › focus › should support multi row selection:
tests/utils/actions/misc.ts#L288
3) database/selection.spec.ts:53:3 › focus › should support multi row selection ──────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-1230657f-7ef5-4d87-be57-46dc7bcb63db&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/database/selection.spec.ts:54:11
|
attachment.spec.ts:127:1 › can insert attachment from slash menu:
tests/attachment.spec.ts#L1
1) attachment.spec.ts:127:1 › can insert attachment from slash menu ──────────────────────────────
Test timeout of 40000ms exceeded.
|
attachment.spec.ts:127:1 › can insert attachment from slash menu:
tests/utils/actions/misc.ts#L288
1) attachment.spec.ts:127:1 › can insert attachment from slash menu ──────────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-6a940bbc-7085-4e16-a244-4957a2f6dc39&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:128:9
|
attachment.spec.ts:177:1 › should undo/redo works for attachment:
tests/attachment.spec.ts#L1
2) attachment.spec.ts:177:1 › should undo/redo works for attachment ──────────────────────────────
Test timeout of 40000ms exceeded.
|
attachment.spec.ts:177:1 › should undo/redo works for attachment:
tests/utils/actions/misc.ts#L288
2) attachment.spec.ts:177:1 › should undo/redo works for attachment ──────────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-efdff220-26b1-47e6-88d8-7b3165078934&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:178:9
|
attachment.spec.ts:287:1 › should rename attachment works:
tests/attachment.spec.ts#L1
3) attachment.spec.ts:287:1 › should rename attachment works ─────────────────────────────────────
Test timeout of 40000ms exceeded.
|
attachment.spec.ts:287:1 › should rename attachment works:
tests/utils/actions/misc.ts#L288
3) attachment.spec.ts:287:1 › should rename attachment works ─────────────────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-7ffa714e-d729-423a-a6d9-2f33e5312119&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:292:9
|
attachment.spec.ts:614:1 › press backspace after bookmark block can select bookmark block:
tests/attachment.spec.ts#L69
4) attachment.spec.ts:614:1 › press backspace after bookmark block can select bookmark block ─────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
67 | await expect(slashMenu).toBeVisible();
68 |
> 69 | const fileChooser = page.waitForEvent('filechooser');
| ^
70 | await pressEnter(page);
71 | await sleep(100);
72 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:69:30)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:624:3
|
bookmark.spec.ts:148:1 › copy url to create bookmark in page mode:
tests/utils/actions/misc.ts#L298
5) bookmark.spec.ts:148:1 › copy url to create bookmark in page mode ─────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to clean text! Text mismatch expected: /ink but actual: link"
at utils/actions/misc.ts:298
296 | expect
297 | .soft('Unexpected console message: ' + message.text())
> 298 | .toBe(
| ^
299 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
300 | );
301 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:298:10)
|
bookmark.spec.ts:148:1 › copy url to create bookmark in page mode:
tests/utils/asserts.ts#L722
5) bookmark.spec.ts:148:1 › copy url to create bookmark in page mode ─────────────────────────────
Error: <affine:page>
<affine:note
prop:background="--affine-note-background-blue"
prop:displayMode="both"
prop:edgeless={
Object {
"style": Object {
"borderRadius": 0,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-sticker",
},
}
}
prop:hidden={false}
prop:index="a0"
>
<affine:paragraph
prop:text="http://localhost/link"
prop:type="text"
/>
<affine:bookmark
prop:caption={null}
prop:description={null}
prop:icon={null}
prop:image={null}
prop:index="a0"
prop:rotate={0}
prop:style="horizontal"
prop:title={null}
prop:url="http://localhost"
/>
</affine:note>
</affine:page>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -14,11 +14,11 @@
}
prop:hidden={false}
prop:index="a0"
>
<affine:paragraph
- prop:text="http://localhost"
+ prop:text="http://localhost/link"
prop:type="text"
/>
<affine:bookmark
prop:caption={null}
prop:description={null}
at utils/asserts.ts:722
720 | printFunctionName: false,
721 | });
> 722 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
723 | }
724 |
725 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:722:38)
at /home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:161:3
|
clipboard.spec.ts:1273:1 › clipboard copy nested items:
tests/clipboard.spec.ts#L1296
6) clipboard.spec.ts:1273:1 › clipboard copy nested items ────────────────────────────────────────
Error: Snapshot comparison failed:
bc
d
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/clipboard.spec.ts/clipboard-copy-nested-items-clipboard.md
Received: /home/runner/work/blocksuite/blocksuite/test-results/clipboard-clipboard-copy-nested-items/clipboard-copy-nested-items-clipboard-actual.md
1294 | const html = await getClipboardHTML(page);
1295 | const snapshot = await getClipboardSnapshot(page);
> 1296 | expect(text).toMatchSnapshot(`${testInfo.title}-clipboard.md`);
| ^
1297 | expect(JSON.stringify(snapshot.snapshot.content, null, 2)).toMatchSnapshot(
1298 | `${testInfo.title}-clipboard.json`
1299 | );
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1296:16
|
edgeless/resizing.spec.ts:20:3 › resizing shapes and aspect ratio will be maintained › positive adjustment:
tests/edgeless/resizing.spec.ts#L1
1) edgeless/resizing.spec.ts:20:3 › resizing shapes and aspect ratio will be maintained › positive adjustment
Test timeout of 40000ms exceeded.
|
edgeless/resizing.spec.ts:20:3 › resizing shapes and aspect ratio will be maintained › positive adjustment:
tests/utils/actions/misc.ts#L288
1) edgeless/resizing.spec.ts:20:3 › resizing shapes and aspect ratio will be maintained › positive adjustment
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-12f22fe7-fcb4-4832-a6bb-3153e6a7dc24&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/resizing.spec.ts:21:11
|
edgeless/resizing.spec.ts:51:3 › resizing shapes and aspect ratio will be maintained › negative adjustment:
tests/edgeless/resizing.spec.ts#L1
2) edgeless/resizing.spec.ts:51:3 › resizing shapes and aspect ratio will be maintained › negative adjustment
Test timeout of 40000ms exceeded.
|
edgeless/resizing.spec.ts:51:3 › resizing shapes and aspect ratio will be maintained › negative adjustment:
tests/utils/actions/misc.ts#L288
2) edgeless/resizing.spec.ts:51:3 › resizing shapes and aspect ratio will be maintained › negative adjustment
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-911ef42b-f31f-4f87-82fd-a1bcd9713c65&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/resizing.spec.ts:52:11
|
edgeless/resizing.spec.ts:84:3 › cursor style › editor is aligned at the start of viewport:
tests/edgeless/resizing.spec.ts#L1
3) edgeless/resizing.spec.ts:84:3 › cursor style › editor is aligned at the start of viewport ────
Test timeout of 40000ms exceeded.
|
edgeless/resizing.spec.ts:84:3 › cursor style › editor is aligned at the start of viewport:
tests/utils/actions/misc.ts#L288
3) edgeless/resizing.spec.ts:84:3 › cursor style › editor is aligned at the start of viewport ────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-179fa1f0-7132-4f13-88e9-7d4f911256b0&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/resizing.spec.ts:85:11
|
edgeless/selection.spec.ts:236:1 › should auto panning when selection rectangle reaches viewport edges:
tests/edgeless/selection.spec.ts#L399
4) edgeless/selection.spec.ts:236:1 › should auto panning when selection rectangle reaches viewport edges
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-edgeless-selected-rect')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-edgeless-selected-rect')
397 | selectedRect = page.locator(selectedRectClass);
398 | await page.waitForTimeout(300);
> 399 | await expect(selectedRect).toBeVisible();
| ^
400 | });
401 |
402 | test('should also update dragging area when viewport changes', async ({
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection.spec.ts:399:30
|
edgeless/selection.spec.ts:236:1 › should auto panning when selection rectangle reaches viewport edges:
tests/edgeless/selection.spec.ts#L399
4) edgeless/selection.spec.ts:236:1 › should auto panning when selection rectangle reaches viewport edges
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-edgeless-selected-rect')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-edgeless-selected-rect')
397 | selectedRect = page.locator(selectedRectClass);
398 | await page.waitForTimeout(300);
> 399 | await expect(selectedRect).toBeVisible();
| ^
400 | });
401 |
402 | test('should also update dragging area when viewport changes', async ({
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection.spec.ts:399:30
|
edgeless/color-picker.spec.ts:83:3 › basic functions › should open color-picker panel when clicking on custom color button:
tests/edgeless/color-picker.spec.ts#L1
1) edgeless/color-picker.spec.ts:83:3 › basic functions › should open color-picker panel when clicking on custom color button
Test timeout of 40000ms exceeded.
|
edgeless/color-picker.spec.ts:83:3 › basic functions › should open color-picker panel when clicking on custom color button:
tests/utils/actions/misc.ts#L288
1) edgeless/color-picker.spec.ts:83:3 › basic functions › should open color-picker panel when clicking on custom color button
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-e4ecdef3-cc89-49dd-be4b-3551ae7b24d3&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at setupWithColorPickerFunction (/home/runner/work/blocksuite/blocksuite/tests/edgeless/color-picker.spec.ts:18:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/color-picker.spec.ts:86:11
|
edgeless/color-picker.spec.ts:104:3 › basic functions › should close color-picker panel when clicking on outside:
tests/edgeless/color-picker.spec.ts#L1
2) edgeless/color-picker.spec.ts:104:3 › basic functions › should close color-picker panel when clicking on outside
Test timeout of 40000ms exceeded.
|
edgeless/color-picker.spec.ts:104:3 › basic functions › should close color-picker panel when clicking on outside:
tests/utils/actions/misc.ts#L288
2) edgeless/color-picker.spec.ts:104:3 › basic functions › should close color-picker panel when clicking on outside
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-f6bc8788-180b-470f-b62c-044cea81c4c9&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at setupWithColorPickerFunction (/home/runner/work/blocksuite/blocksuite/tests/edgeless/color-picker.spec.ts:18:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/color-picker.spec.ts:107:11
|
edgeless/color-picker.spec.ts:137:3 › basic functions › should return to the palette panel when re-clicking the color button:
tests/edgeless/color-picker.spec.ts#L1
3) edgeless/color-picker.spec.ts:137:3 › basic functions › should return to the palette panel when re-clicking the color button
Test timeout of 40000ms exceeded.
|
edgeless/color-picker.spec.ts:137:3 › basic functions › should return to the palette panel when re-clicking the color button:
tests/utils/actions/misc.ts#L288
3) edgeless/color-picker.spec.ts:137:3 › basic functions › should return to the palette panel when re-clicking the color button
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-cc11a2cd-8b7b-4484-a79c-5cc1c1c2ee81&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at setupWithColorPickerFunction (/home/runner/work/blocksuite/blocksuite/tests/edgeless/color-picker.spec.ts:18:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/color-picker.spec.ts:140:11
|
edgeless/connector.spec.ts:676:3 › connector label with straight shape › should exit the label editing state when pressing `Mod-Enter` or `Escape`:
tests/utils/asserts.ts#L232
4) edgeless/connector.spec.ts:676:3 › connector label with straight shape › should exit the label editing state when pressing `Mod-Enter` or `Escape`
Error: expect(received).toEqual(expected) // deep equality
Expected: "b"
Received: "a"
at utils/asserts.ts:232
230 | return inlineEditor?.yText.toString();
231 | });
> 232 | expect(actualTexts).toEqual(text);
| ^
233 | }
234 |
235 | export async function assertRichImage(page: Page, count: number) {
at assertEdgelessCanvasText (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:232:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector.spec.ts:693:5
|
Run linters
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Node.js Environment Compatibility
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Inline Editor E2E test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Integration test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (10)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (9)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (8)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (5)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (7)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (3)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (1)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (6)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Playground E2E test (4)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🎭 Playwright Run Summary
14 passed (20.8s)
|
🎭 Playwright Run Summary
4 flaky
selection/native.spec.ts:571:1 › select all text with dragging and delete by forwardDelete ─────
selection/native.spec.ts:588:1 › select all text with keyboard delete ──────────────────────────
selection/native.spec.ts:616:1 › select text leaving a few words in the last line and delete ───
slash-menu.spec.ts:372:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
2 skipped
74 passed (5.6m)
|
🎭 Playwright Run Summary
4 flaky
paragraph.spec.ts:248:1 › split paragraph block by enter ───────────────────────────────────────
paragraph.spec.ts:277:1 › split paragraph block with selected text by enter ────────────────────
paragraph.spec.ts:312:1 › add multi line by soft enter ─────────────────────────────────────────
selection/native.spec.ts:66:1 › click on blank area ────────────────────────────────────────────
77 passed (5.7m)
|
🎭 Playwright Run Summary
3 flaky
code.spec.ts:266:1 › use more than three backticks can not create code block ───────────────────
code.spec.ts:283:1 › use shortcut can create code block ────────────────────────────────────────
code.spec.ts:294:1 › change code language can work ─────────────────────────────────────────────
5 skipped
73 passed (5.5m)
|
🎭 Playwright Run Summary
5 flaky
image.spec.ts:158:1 › should support the enter key of image caption ────────────────────────────
image.spec.ts:177:1 › popup menu should follow position of image when scrolling ────────────────
image.spec.ts:229:1 › select image should not show format bar ──────────────────────────────────
link.spec.ts:425:1 › convert link to card ──────────────────────────────────────────────────────
paragraph.spec.ts:80:1 › init paragraph by page title enter in middle ──────────────────────────
1 skipped
75 passed (5.7m)
|
🎭 Playwright Run Summary
3 flaky
edgeless/group.spec.ts:412:5 › group › delete › delete group in group ──────────────────────────
edgeless/group.spec.ts:461:5 › group › group title › edit group title by component toolbar ─────
edgeless/group.spec.ts:470:5 › group › group title › edit group title by dbclick ───────────────
10 skipped
68 passed (6.0m)
|
🎭 Playwright Run Summary
5 flaky
format-bar.spec.ts:160:1 › should format quick bar can only display one at a time ──────────────
format-bar.spec.ts:174:1 › should format quick bar hide when type text ─────────────────────────
format-bar.spec.ts:185:1 › should format quick bar be able to format text ──────────────────────
format-bar.spec.ts:316:1 › should format quick bar be able to change background color ──────────
hotkey.spec.ts:862:1 › should cut work single line ─────────────────────────────────────────────
1 skipped
75 passed (6.0m)
|
🎭 Playwright Run Summary
3 flaky
database/database.spec.ts:768:3 › readonly mode › should hide selection after switch to readonly mode
database/selection.spec.ts:41:3 › focus › should support move focus by arrow key ───────────────
database/selection.spec.ts:53:3 › focus › should support multi row selection ───────────────────
2 skipped
76 passed (6.2m)
|
🎭 Playwright Run Summary
6 flaky
attachment.spec.ts:127:1 › can insert attachment from slash menu ───────────────────────────────
attachment.spec.ts:177:1 › should undo/redo works for attachment ───────────────────────────────
attachment.spec.ts:287:1 › should rename attachment works ──────────────────────────────────────
attachment.spec.ts:614:1 › press backspace after bookmark block can select bookmark block ──────
bookmark.spec.ts:148:1 › copy url to create bookmark in page mode ──────────────────────────────
clipboard.spec.ts:1273:1 › clipboard copy nested items ─────────────────────────────────────────
75 passed (6.1m)
|
🎭 Playwright Run Summary
4 flaky
edgeless/resizing.spec.ts:20:3 › resizing shapes and aspect ratio will be maintained › positive adjustment
edgeless/resizing.spec.ts:51:3 › resizing shapes and aspect ratio will be maintained › negative adjustment
edgeless/resizing.spec.ts:84:3 › cursor style › editor is aligned at the start of viewport ─────
edgeless/selection.spec.ts:236:1 › should auto panning when selection rectangle reaches viewport edges
2 skipped
75 passed (7.1m)
|
🎭 Playwright Run Summary
4 flaky
edgeless/color-picker.spec.ts:83:3 › basic functions › should open color-picker panel when clicking on custom color button
edgeless/color-picker.spec.ts:104:3 › basic functions › should close color-picker panel when clicking on outside
edgeless/color-picker.spec.ts:137:3 › basic functions › should return to the palette panel when re-clicking the color button
edgeless/connector.spec.ts:676:3 › connector label with straight shape › should exit the label editing state when pressing `Mod-Enter` or `Escape`
77 passed (7.4m)
|