fix(page): clipboard payload does not have assets (#6194) #153
test.yaml
on: push
Node.js Environment Compatibility
44s
Unit test
1m 18s
Integration test
27s
Inline Editor E2E test
1m 5s
Matrix: Playground E2E test
Annotations
35 errors, 14 warnings, and 11 notices
clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode:
tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode ─────────────────
Test timeout of 30000ms exceeded.
|
clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode:
tests/utils/actions/keyboard.ts#L159
1) clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode ─────────────────
Error: keyboard.press: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:159
157 | }
158 |
> 159 | await page.keyboard.press(`${SHORT_KEY}+v`, { delay: 20 });
| ^
160 | }
161 |
162 | export async function createCodeBlock(page: Page) {
at pasteByKeyboard (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:159:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1035:9
|
clipboard.spec.ts:1040:1 › copy when text note active in edgeless:
tests/utils/asserts.ts#L186
2) clipboard.spec.ts:1040:1 › copy when text note active in edgeless ─────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "12345551234"
Received: "1234555test"
at utils/asserts.ts:186
184 | export async function assertText(page: Page, text: string, i = 0) {
185 | const actual = await getStringFromRichText(page, i);
> 186 | expect(actual).toBe(text);
| ^
187 | }
188 |
189 | export async function assertTextContain(page: Page, text: string, i = 0) {
at assertText (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:186:18)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1055:3
|
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 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.
|
attachment.spec.ts:318:1 › should turn attachment to image works:
tests/utils/asserts.ts#L227
2) attachment.spec.ts:318:1 › should turn attachment to image works ──────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 1
Received: 0
at utils/asserts.ts:227
225 | const editor = getEditorLocator(page);
226 | const actual = await editor.locator('.resizable-img').count();
> 227 | expect(actual).toEqual(count);
| ^
228 | }
229 |
230 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:227:18)
at turnToEmbed (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:95:7)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:329:3
|
basic.spec.ts:349:1 › should undo/redo cursor works on title:
tests/utils/asserts.ts#L148
3) basic.spec.ts:349:1 › should undo/redo cursor works on title ──────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "title2"
Received: "2title"
at utils/asserts.ts:148
146 | const inlineEditor = editor.locator('.doc-title-container').first();
147 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 148 | expect(vText).toBe(text);
| ^
149 | }
150 |
151 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:148:17)
at /home/runner/work/blocksuite/blocksuite/tests/basic.spec.ts:369:3
|
bookmark.spec.ts:61:1 › create bookmark by slash menu:
tests/utils/actions/misc.ts#L290
4) bookmark.spec.ts:61:1 › create bookmark by slash menu ─────────────────────────────────────────
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 parse query! Current range is not a text node. Range"
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)
|
bookmark.spec.ts:154:1 › covert bookmark block to link text:
tests/utils/actions/misc.ts#L290
5) bookmark.spec.ts:154:1 › covert bookmark block to link text ───────────────────────────────────
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: /link but actual: links"
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)
|
bookmark.spec.ts:154:1 › covert bookmark block to link text:
tests/bookmark.spec.ts#L58
5) bookmark.spec.ts:154:1 › covert bookmark block to link text ───────────────────────────────────
TimeoutError: locator.hover: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-bookmark')
56 | const hoverBookmarkBlock = async (page: Page) => {
57 | const listMenu = page.locator('affine-bookmark');
> 58 | await listMenu.hover();
| ^
59 | };
60 |
61 | test(scoped`create bookmark by slash menu`, async ({ page }) => {
at hoverBookmarkBlock (/home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:58:18)
at /home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:156:9
|
bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless mode:
tests/utils/actions/misc.ts#L290
6) bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless 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 parse query! Current range is not a text node. Range"
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)
|
bookmark.spec.ts:303:1 › support dragging bookmark block directly:
tests/utils/actions/misc.ts#L290
7) bookmark.spec.ts:303:1 › support dragging bookmark block directly ─────────────────────────────
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 parse query! Current range is not a text node. Range"
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)
|
bookmark.spec.ts:303:1 › support dragging bookmark block directly:
tests/utils/actions/misc.ts#L290
7) bookmark.spec.ts:303:1 › support dragging bookmark block directly ─────────────────────────────
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 parse query! Current range is not a text node. Range"
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)
|
bookmark.spec.ts:303:1 › support dragging bookmark block directly:
tests/utils/actions/misc.ts#L290
7) bookmark.spec.ts:303:1 › support dragging bookmark block directly ─────────────────────────────
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 parse query! Current range is not a text node. Range"
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)
|
hotkey.spec.ts:1004:1 › should cut work single line:
tests/hotkey.spec.ts#L1041
1) hotkey.spec.ts:1004:1 › should cut work single line ───────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "ell"
Received: ""
1039 | await undoByKeyboard(page);
1040 | const text = await readClipboardText(page);
> 1041 | expect(text).toBe('ell');
| ^
1042 | await assertStoreMatchJSX(
1043 | page,
1044 | `
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1041:16
|
image.spec.ts:103:1 › can click and copy image:
tests/utils/asserts.ts#L227
2) image.spec.ts:103:1 › can click and copy image ────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:227
225 | const editor = getEditorLocator(page);
226 | const actual = await editor.locator('.resizable-img').count();
> 227 | expect(actual).toEqual(count);
| ^
228 | }
229 |
230 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:227:18)
at /home/runner/work/blocksuite/blocksuite/tests/image.spec.ts:115:3
|
link.spec.ts:358:1 › convert link to card:
tests/link.spec.ts#L373
3) link.spec.ts:358:1 › convert link to card ─────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-link-popover')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-link-popover')
371 | await waitNextFrame(page);
372 | const linkPopoverLocator = page.locator('.affine-link-popover');
> 373 | await expect(linkPopoverLocator).toBeVisible();
| ^
374 | const linkPopoverInput = page.locator('.affine-link-popover-input');
375 | await expect(linkPopoverInput).toBeVisible();
376 | await type(page, link);
at /home/runner/work/blocksuite/blocksuite/tests/link.spec.ts:373:36
|
linked-page.spec.ts:519:3 › reference node › can create linked page and jump:
tests/utils/actions/misc.ts#L290
4) linked-page.spec.ts:519:3 › reference node › can create linked page and jump ──────────────────
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: @page but actual: page1"
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)
|
linked-page.spec.ts:519:3 › reference node › can create linked page and jump:
tests/linked-page.spec.ts#L42
4) linked-page.spec.ts:519:3 › reference node › can create linked page and jump ──────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
40 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
41 | });
> 42 | await expect(refNode).toBeVisible();
| ^
43 | return refNode;
44 | };
45 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:42:27)
at createPage (/home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:71:12)
at /home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:527:24
|
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar:
tests/edgeless/shape.spec.ts#L1
1) edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ───────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar:
tests/utils/actions/drag.ts#L21
1) edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ───────────────────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicBrushElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:345:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:99:3
|
edgeless/shape.spec.ts:131:1 › change shape stroke color:
tests/edgeless/shape.spec.ts#L1
2) edgeless/shape.spec.ts:131:1 › change shape stroke color ──────────────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:131:1 › change shape stroke color:
tests/utils/actions/misc.ts#L1294
2) edgeless/shape.spec.ts:131:1 › change shape stroke color ──────────────────────────────────────
Error: locator.evaluate: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('affine-editor-container')
at utils/actions/misc.ts:1294
1292 | const value = await page
1293 | .locator('affine-editor-container')
> 1294 | .evaluate((ele, property: CssVariableName) => {
| ^
1295 | return (ele as unknown as Element & { themeObserver: ThemeObserver })
1296 | .themeObserver.cssVariables?.[property];
1297 | }, property);
at getCurrentThemeCSSPropertyValue (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1294:6)
at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:895:28)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:151:9
|
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#L206
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:206
204 | });
205 | }, currentEditorIndex);
> 206 | expect(actualTexts).toEqual(texts);
| ^
207 | }
208 |
209 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:206:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/auto-complete.spec.ts:128:7
|
edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick:
tests/edgeless/group.spec.ts#L452
1) edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick ──────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
450 |
451 | test.describe('group title', () => {
> 452 | test.beforeEach(async ({ page }) => {
| ^
453 | await init(page);
454 | await selectAllByKeyboard(page);
455 | await triggerComponentToolbarAction(page, 'addGroup');
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:452:10
|
edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick:
tests/utils/actions/drag.ts#L21
1) edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick ──────────────
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 init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:47:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:453:7
|
edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor:
tests/edgeless/group.spec.ts#L452
2) edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor ────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
450 |
451 | test.describe('group title', () => {
> 452 | test.beforeEach(async ({ page }) => {
| ^
453 | await init(page);
454 | await selectAllByKeyboard(page);
455 | await triggerComponentToolbarAction(page, 'addGroup');
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:452:10
|
edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor:
tests/utils/actions/drag.ts#L21
2) edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor ────────────────
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 init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:47:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:453:7
|
edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor:
tests/edgeless/group.spec.ts#L452
3) edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor ───────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
450 |
451 | test.describe('group title', () => {
> 452 | test.beforeEach(async ({ page }) => {
| ^
453 | await init(page);
454 | await selectAllByKeyboard(page);
455 | await triggerComponentToolbarAction(page, 'addGroup');
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:452:10
|
edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor:
tests/utils/actions/drag.ts#L21
3) edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor ───────────────
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 init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:47:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:453:7
|
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element:
tests/edgeless/basic.spec.ts#L1
1) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ──────────────────
Test timeout of 30000ms exceeded.
|
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element:
tests/utils/actions/drag.ts#L21
1) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ──────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at optionMouseDrag (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:691:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:128:3
|
edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element:
tests/edgeless/basic.spec.ts#L1
2) edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element
Test timeout of 30000ms exceeded.
|
edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element:
tests/utils/actions/drag.ts#L21
2) edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicRectShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:355:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:153:3
|
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
3) 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/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown:
tests/edgeless/basic.spec.ts#L1
3) edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
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.
|
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 (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 (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 (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 (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 (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 (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 (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 (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 (23.4s)
|
🎭 Playwright Run Summary
1 skipped
64 passed (3.0m)
|
🎭 Playwright Run Summary
2 flaky
clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode ──────────────────
clipboard.spec.ts:1040:1 › copy when text note active in edgeless ──────────────────────────────
8 skipped
56 passed (3.0m)
|
🎭 Playwright Run Summary
2 skipped
63 passed (3.0m)
|
🎭 Playwright Run Summary
1 skipped
64 passed (3.1m)
|
🎭 Playwright Run Summary
7 flaky
attachment.spec.ts:279:1 › should rename attachment works ──────────────────────────────────────
attachment.spec.ts:318:1 › should turn attachment to image works ───────────────────────────────
basic.spec.ts:349:1 › should undo/redo cursor works on title ───────────────────────────────────
bookmark.spec.ts:61:1 › create bookmark by slash menu ──────────────────────────────────────────
bookmark.spec.ts:154:1 › covert bookmark block to link text ────────────────────────────────────
bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless mode ──────────────────────────
bookmark.spec.ts:303:1 › support dragging bookmark block directly ──────────────────────────────
16 skipped
43 passed (3.2m)
|
🎭 Playwright Run Summary
4 flaky
hotkey.spec.ts:1004:1 › should cut work single line ────────────────────────────────────────────
image.spec.ts:103:1 › can click and copy image ─────────────────────────────────────────────────
link.spec.ts:358:1 › convert link to card ──────────────────────────────────────────────────────
linked-page.spec.ts:519:3 › reference node › can create linked page and jump ───────────────────
4 skipped
57 passed (3.4m)
|
🎭 Playwright Run Summary
2 flaky
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ────────────────────────────────
edgeless/shape.spec.ts:131:1 › change shape stroke color ───────────────────────────────────────
1 skipped
62 passed (3.6m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/auto-complete.spec.ts:112:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
65 passed (3.5m)
|
🎭 Playwright Run Summary
3 flaky
edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick ───────────────
edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor ─────────────────
edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor ────────────────
62 passed (4.3m)
|
🎭 Playwright Run Summary
3 flaky
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ───────────────────
edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element
edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
3 skipped
60 passed (4.6m)
|