fix: console error when pressing delete key in the paragraph before β¦ #158
test.yaml
on: push
Node.js Environment Compatibility
37s
Unit test
1m 11s
Integration test
29s
Inline Editor E2E test
50s
Matrix: Playground E2E test
Annotations
35 errors, 14 warnings, and 11 notices
attachment.spec.ts:279:1 βΊ should rename attachment works:
tests/attachment.spec.ts#L1
1) attachment.spec.ts:279:1 βΊ should rename attachment works βββββββββββββββββββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
attachment.spec.ts:279:1 βΊ should rename attachment works:
tests/utils/actions/keyboard.ts#L27
1) attachment.spec.ts:279:1 βΊ should rename attachment works βββββββββββββββββββββββββββββββββββββ
Error: keyboard.type: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:27
25 |
26 | export async function type(page: Page, content: string, delay = 20) {
> 27 | await page.keyboard.type(content, { delay });
| ^
28 | }
29 |
30 | export async function withPressKey(
at type (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:27:23)
at rename (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:103:13)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:310:3
|
basic.spec.ts:349:1 βΊ should undo/redo cursor works on title:
tests/utils/asserts.ts#L149
2) basic.spec.ts:349:1 βΊ should undo/redo cursor works on title ββββββββββββββββββββββββββββββββββ
Error: expect(received).toBe(expected) // Object.is equality
Expected: "title2"
Received: "title"
at utils/asserts.ts:149
147 | const inlineEditor = editor.locator('.doc-title-container').first();
148 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 149 | expect(vText).toBe(text);
| ^
150 | }
151 |
152 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:149:17)
at /home/runner/work/blocksuite/blocksuite/tests/basic.spec.ts:369:3
|
clipboard.spec.ts:1016:1 βΊ copy canvas element and text note in edgeless mode:
tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:1016:1 βΊ copy canvas element and text note in edgeless mode βββββββββββββββββ
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.
|
linked-page.spec.ts:658:3 βΊ linked page popover βΊ should fuzzy search works:
tests/linked-page.spec.ts#L1
1) linked-page.spec.ts:658:3 βΊ linked page popover βΊ should fuzzy search works βββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
linked-page.spec.ts:658:3 βΊ linked page popover βΊ should fuzzy search works:
tests/utils/actions/misc.ts#L331
1) linked-page.spec.ts:658:3 βΊ linked page popover βΊ should fuzzy search works βββββββββββββββββββ
Error: page.waitForTimeout: Test timeout of 30000ms exceeded.
at utils/actions/misc.ts:331
329 | frameTimeout = NEXT_FRAME_TIMEOUT
330 | ) {
> 331 | await page.waitForTimeout(frameTimeout);
| ^
332 | }
333 |
334 | export async function waitForPageReady(page: Page) {
at waitNextFrame (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:14)
at focusTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1174:9)
at /home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:678:5
|
paragraph.spec.ts:1393:1 βΊ should placeholder works:
tests/paragraph.spec.ts#L1
1) paragraph.spec.ts:1393:1 βΊ should placeholder works βββββββββββββββββββββββββββββββββββββββββββ
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.
|
fragments/frame-panel.spec.ts:29:3 βΊ frame panel βΊ should display frame cards when there are frames:
tests/fragments/frame-panel.spec.ts#L1
1) fragments/frame-panel.spec.ts:29:3 βΊ frame panel βΊ should display frame cards when there are frames
Test timeout of 30000ms exceeded.
|
fragments/frame-panel.spec.ts:29:3 βΊ frame panel βΊ should display frame cards when there are frames:
tests/utils/actions/keyboard.ts#L27
1) fragments/frame-panel.spec.ts:29:3 βΊ frame panel βΊ should display frame cards when there are frames
Error: keyboard.type: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:27
25 |
26 | export async function type(page: Page, content: string, delay = 20) {
> 27 | await page.keyboard.type(content, { delay });
| ^
28 | }
29 |
30 | export async function withPressKey(
at type (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:27:23)
at addNote (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:386:11)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:40:5
|
fragments/frame-panel.spec.ts:77:3 βΊ frame panel βΊ should update panel when frames change:
tests/fragments/frame-panel.spec.ts#L1
2) fragments/frame-panel.spec.ts:77:3 βΊ frame panel βΊ should update panel when frames change βββββ
Test timeout of 30000ms exceeded.
|
fragments/frame-panel.spec.ts:77:3 βΊ frame panel βΊ should update panel when frames change:
tests/fragments/frame-panel.spec.ts#L97
2) fragments/frame-panel.spec.ts:77:3 βΊ frame panel βΊ should update panel when frames change βββββ
Error: mouse.click: Test timeout of 30000ms exceeded.
95 | expect(await frameCards.count()).toBe(2);
96 |
> 97 | await page.mouse.click(50, 300);
| ^
98 | await page.keyboard.press('Delete');
99 | await page.waitForTimeout(300);
100 |
at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:97:22
|
hotkey.spec.ts:1004:1 βΊ should cut work single line:
tests/utils/asserts.ts#L632
3) hotkey.spec.ts:1004:1 βΊ should cut work single line βββββββββββββββββββββββββββββββββββββββββββ
Error: <affine:note
prop:background="--affine-background-secondary-color"
prop:displayMode="both"
prop:edgeless={
Object {
"style": Object {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "solid",
"shadowType": "--affine-note-shadow-box",
},
}
}
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:632
630 | printFunctionName: false,
631 | });
> 632 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
633 | }
634 |
635 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:632:38)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1013:3
|
edgeless/auto-complete.spec.ts:112:5 βΊ auto-complete βΊ drag on auto-complete button βΊ drag on right auto-complete button to add note:
tests/utils/asserts.ts#L207
1) edgeless/auto-complete.spec.ts:112: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",
+ "",
]
at utils/asserts.ts:207
205 | });
206 | }, currentEditorIndex);
> 207 | expect(actualTexts).toEqual(texts);
| ^
208 | }
209 |
210 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:207:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/auto-complete.spec.ts:128:7
|
edgeless/basic.spec.ts:164:1 βΊ the tooltip of more button should be hidden when the action menu is shown:
tests/edgeless/basic.spec.ts#L187
2) edgeless/basic.spec.ts:164: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')
185 |
186 | await page.mouse.move(moreButtonBox.x + 10, moreButtonBox.y + 10);
> 187 | await expect(tooltip).toBeVisible();
| ^
188 |
189 | await page.mouse.click(moreButtonBox.x + 10, moreButtonBox.y + 10);
190 | await expect(tooltip).toBeHidden();
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:187:25
|
edgeless/shape.spec.ts:45:3 βΊ add shape βΊ without holding shift key:
tests/edgeless/shape.spec.ts#L1
1) edgeless/shape.spec.ts:45:3 βΊ add shape βΊ without holding shift key βββββββββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:45:3 βΊ add shape βΊ without holding shift key:
tests/utils/actions/edgeless.ts#L269
1) edgeless/shape.spec.ts:45:3 βΊ add shape βΊ without holding shift key βββββββββββββββββββββββββββ
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('edgeless-toolbar edgeless-toolbar-button.edgeless-shape-button')
- locator resolved to <edgeless-toolbar-button class="edgeless-shape-button">β¦</edgeless-toolbar-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
at utils/actions/edgeless.ts:269
267 | case 'shape': {
268 | const shapeToolButton = locatorEdgelessToolButton(page, 'shape', false);
> 269 | await shapeToolButton.click();
| ^
270 |
271 | const squareShapeButton = page
272 | .locator('edgeless-tool-icon-button')
at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:269:29)
at addBasicRectShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:354:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:52:11
|
edgeless/shape.spec.ts:65:3 βΊ add shape βΊ with holding shift key:
tests/edgeless/shape.spec.ts#L1
2) edgeless/shape.spec.ts:65:3 βΊ add shape βΊ with holding shift key ββββββββββββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:65:3 βΊ add shape βΊ with holding shift key:
tests/utils/actions/misc.ts#L331
2) edgeless/shape.spec.ts:65:3 βΊ add shape βΊ with holding shift key ββββββββββββββββββββββββββββββ
Error: page.waitForTimeout: Test timeout of 30000ms exceeded.
at utils/actions/misc.ts:331
329 | frameTimeout = NEXT_FRAME_TIMEOUT
330 | ) {
> 331 | await page.waitForTimeout(frameTimeout);
| ^
332 | }
333 |
334 | export async function waitForPageReady(page: Page) {
at waitNextFrame (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:14)
at switchEditorMode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:110:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:68:5
|
edgeless/shape.spec.ts:90:3 βΊ add shape βΊ with holding space bar:
tests/edgeless/shape.spec.ts#L1
3) edgeless/shape.spec.ts:90:3 βΊ add shape βΊ with holding space bar ββββββββββββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:90:3 βΊ add shape βΊ with holding space bar:
tests/utils/actions/edgeless.ts#L269
3) edgeless/shape.spec.ts:90:3 βΊ add shape βΊ with holding space bar ββββββββββββββββββββββββββββββ
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('edgeless-toolbar edgeless-toolbar-button.edgeless-shape-button')
- locator resolved to <edgeless-toolbar-button class="edgeless-shape-button">β¦</edgeless-toolbar-button>
- attempting click action
- waiting for element to be visible, enabled and stable
at utils/actions/edgeless.ts:269
267 | case 'shape': {
268 | const shapeToolButton = locatorEdgelessToolButton(page, 'shape', false);
> 269 | await shapeToolButton.click();
| ^
270 |
271 | const squareShapeButton = page
272 | .locator('edgeless-tool-icon-button')
at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:269:29)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:97:11
|
format-bar.spec.ts:312:1 βΊ should format quick bar be able to change background color:
tests/format-bar.spec.ts#L433
4) format-bar.spec.ts:312: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 <icon-button width="100%" tabindex="0" height="32px" data-tesβ¦>β¦</icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not visible - waiting...
431 |
432 | await expect(highlight.defaultColorBtn).toBeVisible();
> 433 | await highlight.defaultColorBtn.click();
| ^
434 |
435 | await assertStoreMatchJSX(
436 | page,
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:433:35
|
format-bar.spec.ts:1543:1 βΊ can extend format bar:
tests/format-bar.spec.ts#L1549
5) format-bar.spec.ts:1543:1 βΊ can extend format bar βββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('custom-format-bar-element')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('custom-format-bar-element')
1547 | await extendFormatBar(page);
1548 | await dragBetweenIndices(page, [0, 0], [2, 3]);
> 1549 | await expect(page.getByTestId('custom-format-bar-element')).toBeVisible();
| ^
1550 | });
1551 |
1552 | test('format quick bar should not break cursor jumping', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:1549:63
|
edgeless/group.spec.ts:503:5 βΊ group βΊ clipboard βΊ copy and paste group:
tests/edgeless/group.spec.ts#L1
1) edgeless/group.spec.ts:503:5 βΊ group βΊ clipboard βΊ copy and paste group βββββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
edgeless/group.spec.ts:503:5 βΊ group βΊ clipboard βΊ copy and paste group:
tests/utils/actions/drag.ts#L21
1) edgeless/group.spec.ts:503:5 βΊ group βΊ clipboard βΊ copy and paste group βββββββββββββββββββββββ
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:365:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1320:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:506:7
|
edgeless/note.spec.ts:88:1 βΊ resize note in edgeless mode:
tests/edgeless/note.spec.ts#L1
2) edgeless/note.spec.ts:88:1 βΊ resize note in edgeless mode βββββββββββββββββββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
edgeless/note.spec.ts:88:1 βΊ resize note in edgeless mode:
tests/utils/actions/edgeless.ts#L108
2) edgeless/note.spec.ts:88:1 βΊ resize note in edgeless mode βββββββββββββββββββββββββββββββββββββ
Error: page.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('sl-tooltip[content="Switch Editor"]')
- locator resolved to <sl-tooltip open="" hoist="" placement="bottom" content="Swiβ¦>β¦</sl-tooltip>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- element is not visible
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at utils/actions/edgeless.ts:108
106 |
107 | export async function switchEditorMode(page: Page) {
> 108 | await page.click('sl-tooltip[content="Switch Editor"]');
| ^
109 | // FIXME: listen to editor loaded event
110 | await waitNextFrame(page);
111 | }
at switchEditorMode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:108:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:123:9
|
edgeless/note.spec.ts:730:1 βΊ continuous undo and redo (note block add operation) should work:
tests/utils/actions/misc.ts#L290
3) edgeless/note.spec.ts:730:1 βΊ continuous undo and redo (note block add operation) should work β
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 7
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: Error: val does not exist
+ at assertExists (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/global/src/utils/assert.ts:1309:11)
+ at Clipboard.readFromClipboard (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/clipboard/index.ts:2752:5)
+ at EdgelessClipboardController._onPaste (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/page-block/edgeless/controllers/clipboard.ts:11388:66)
+ at host.handleEvent.global (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/page-block/edgeless/controllers/clipboard.ts:11216:14)
+ at UIEventDispatcher.run (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/event/dispatcher.ts:2934:49)
+ at ClipboardControl._paste (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/event/control/clipboard.ts:572:24)
at utils/actions/misc.ts:290
288 | expect
289 | .soft('Unexpected console message: ' + message.text())
> 290 | .toBe(
| ^
291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
292 | );
293 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
|
edgeless/note.spec.ts:730:1 βΊ continuous undo and redo (note block add operation) should work:
tests/edgeless/note.spec.ts#L757
3) edgeless/note.spec.ts:730:1 βΊ continuous undo and redo (note block add operation) should work β
Error: expect(received).toBe(expected) // Object.is equality
Expected: 4
Received: 3
755 |
756 | count = await countBlock(page, 'affine-note');
> 757 | expect(count).toBe(4);
| ^
758 |
759 | await undoByClick(page);
760 | count = await countBlock(page, 'affine-note');
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:757:17
|
edgeless/selection.spec.ts:185:1 βΊ should auto panning when selection rectangle reaches viewport edges:
tests/edgeless/selection.spec.ts#L248
4) edgeless/selection.spec.ts:185:1 βΊ should auto panning when selection rectangle reaches viewport edges
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('.affine-edgeless-selected-rect')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('.affine-edgeless-selected-rect')
- locator resolved to <div disabled="true" data-mode="resize" class="affineβ¦>β¦</div>
- unexpected value "visible"
- locator resolved to <div disabled="true" data-mode="resize" class="affineβ¦>β¦</div>
- unexpected value "visible"
- locator resolved to <div disabled="true" data-mode="resize" class="affineβ¦>β¦</div>
- unexpected value "visible"
- locator resolved to <div disabled="true" data-mode="resize" class="affineβ¦>β¦</div>
- unexpected value "visible"
- locator resolved to <div disabled="true" data-mode="resize" class="affineβ¦>β¦</div>
- unexpected value "visible"
- locator resolved to <div disabled="true" data-mode="resize" class="affineβ¦>β¦</div>
- unexpected value "visible"
- locator resolved to <div disabled="true" data-mode="resize" class="affineβ¦>β¦</div>
- unexpected value "visible"
- locator resolved to <div disabled="true" data-mode="resize" class="affineβ¦>β¦</div>
- unexpected value "visible"
- locator resolved to <div disabled="true" data-mode="resize" class="affineβ¦>β¦</div>
- unexpected value "visible"
246 | selectedRect = page.locator(selectedRectClass);
247 | await page.waitForTimeout(300);
> 248 | await expect(selectedRect).toBeHidden();
| ^
249 | // Click to start selection and hold the mouse to trigger auto panning to the top
250 | await page.mouse.move(600, 100);
251 | await page.mouse.down();
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection.spec.ts:248:30
|
edgeless/basic.spec.ts:196:1 βΊ shift click multi select and de-select:
tests/edgeless/basic.spec.ts#L1
1) edgeless/basic.spec.ts:196:1 βΊ shift click multi select and de-select βββββββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
edgeless/basic.spec.ts:196:1 βΊ shift click multi select and de-select:
tests/utils/actions/drag.ts#L21
1) edgeless/basic.spec.ts:196:1 βΊ shift click multi select and de-select βββββββββββββββββββββββββ
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:365:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1320:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:203:3
|
edgeless/basic.spec.ts:218:1 βΊ Before and after switching to Edgeless:
tests/edgeless/basic.spec.ts#L1
2) edgeless/basic.spec.ts:218:1 βΊ Before and after switching to Edgeless, the previous zoom ratio and position when Edgeless was opened should be remembered
Test timeout of 30000ms exceeded.
|
edgeless/basic.spec.ts:218:1 βΊ Before and after switching to Edgeless:
tests/utils/actions/edgeless.ts#L108
2) edgeless/basic.spec.ts:218:1 βΊ Before and after switching to Edgeless, the previous zoom ratio and position when Edgeless was opened should be remembered
Error: page.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('sl-tooltip[content="Switch Editor"]')
- locator resolved to <sl-tooltip hoist="" placement="bottom" content="Switch Editβ¦>β¦</sl-tooltip>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- element is not visible
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
at utils/actions/edgeless.ts:108
106 |
107 | export async function switchEditorMode(page: Page) {
> 108 | await page.click('sl-tooltip[content="Switch Editor"]');
| ^
109 | // FIXME: listen to editor loaded event
110 | await waitNextFrame(page);
111 | }
at switchEditorMode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:108:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:233:9
|
edgeless/basic.spec.ts:237:1 βΊ should close zoom bar when click blank area:
tests/edgeless/basic.spec.ts#L1
3) edgeless/basic.spec.ts:237:1 βΊ should close zoom bar when click blank area ββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
edgeless/basic.spec.ts:237:1 βΊ should close zoom bar when click blank area:
tests/edgeless/basic.spec.ts#L261
3) edgeless/basic.spec.ts:237:1 βΊ should close zoom bar when click blank area ββββββββββββββββββββ
Error: mouse.click: Test timeout of 30000ms exceeded.
259 |
260 | // Click Blank Area
> 261 | await page.mouse.click(10, 100);
| ^
262 | await expect(zoomBar).toBeHidden();
263 | });
264 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:261:20
|
Integration test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Node.js Environment Compatibility
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Inline Editor E2E test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Unit test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
π Playwright Run Summary
12 passed (24.5s)
|
π Playwright Run Summary
2 flaky
attachment.spec.ts:279:1 βΊ should rename attachment works ββββββββββββββββββββββββββββββββββββββ
basic.spec.ts:349:1 βΊ should undo/redo cursor works on title βββββββββββββββββββββββββββββββββββ
16 skipped
49 passed (2.9m)
|
π Playwright Run Summary
1 flaky
clipboard.spec.ts:1016:1 βΊ copy canvas element and text note in edgeless mode ββββββββββββββββββ
8 skipped
58 passed (2.9m)
|
π Playwright Run Summary
2 skipped
64 passed (3.0m)
|
π Playwright Run Summary
1 flaky
linked-page.spec.ts:658:3 βΊ linked page popover βΊ should fuzzy search works ββββββββββββββββββββ
2 skipped
63 passed (3.0m)
|
π Playwright Run Summary
1 flaky
paragraph.spec.ts:1393:1 βΊ should placeholder works ββββββββββββββββββββββββββββββββββββββββββββ
1 skipped
64 passed (3.4m)
|
π Playwright Run Summary
3 flaky
fragments/frame-panel.spec.ts:29:3 βΊ frame panel βΊ should display frame cards when there are frames
fragments/frame-panel.spec.ts:77:3 βΊ frame panel βΊ should update panel when frames change ββββββ
hotkey.spec.ts:1004:1 βΊ should cut work single line ββββββββββββββββββββββββββββββββββββββββββββ
3 skipped
60 passed (3.4m)
|
π Playwright Run Summary
2 flaky
edgeless/auto-complete.spec.ts:112:5 βΊ auto-complete βΊ drag on auto-complete button βΊ drag on right auto-complete button to add note
edgeless/basic.spec.ts:164:1 βΊ the tooltip of more button should be hidden when the action menu is shown
65 passed (3.6m)
|
π Playwright Run Summary
5 flaky
edgeless/shape.spec.ts:45:3 βΊ add shape βΊ without holding shift key ββββββββββββββββββββββββββββ
edgeless/shape.spec.ts:65:3 βΊ add shape βΊ with holding shift key βββββββββββββββββββββββββββββββ
edgeless/shape.spec.ts:90:3 βΊ add shape βΊ with holding space bar βββββββββββββββββββββββββββββββ
format-bar.spec.ts:312:1 βΊ should format quick bar be able to change background color ββββββββββ
format-bar.spec.ts:1543:1 βΊ can extend format bar ββββββββββββββββββββββββββββββββββββββββββββββ
1 skipped
60 passed (4.1m)
|
π Playwright Run Summary
4 flaky
edgeless/group.spec.ts:503:5 βΊ group βΊ clipboard βΊ copy and paste group ββββββββββββββββββββββββ
edgeless/note.spec.ts:88:1 βΊ resize note in edgeless mode ββββββββββββββββββββββββββββββββββββββ
edgeless/note.spec.ts:730:1 βΊ continuous undo and redo (note block add operation) should work ββ
edgeless/selection.spec.ts:185:1 βΊ should auto panning when selection rectangle reaches viewport edges
62 passed (4.5m)
|
π Playwright Run Summary
3 flaky
edgeless/basic.spec.ts:196:1 βΊ shift click multi select and de-select ββββββββββββββββββββββββββ
edgeless/basic.spec.ts:218:1 βΊ Before and after switching to Edgeless, the previous zoom ratio and position when Edgeless was opened should be remembered
edgeless/basic.spec.ts:237:1 βΊ should close zoom bar when click blank area βββββββββββββββββββββ
3 skipped
60 passed (4.6m)
|