chore: removing adding method on edgeless block #6700
test.yml
on: pull_request
Install Dependencies
1m 0s
Build & Test
0s
Annotations
20 errors, 19 warnings, and 20 notices
hotkey/hotkey.spec.ts:258:1 › should cut work single line:
tests/hotkey/hotkey.spec.ts#L267
1) hotkey/hotkey.spec.ts:258:1 › should cut work single line ─────────────────────────────────────
Error: Snapshot comparison failed:
{
"type": "block",
"id": "0",
"flavour": "affine:page",
"version": 2,
"props": {
"title": {
"$blocksuite:internal:text$": true,
"delta": []
}
},
"children": [
{
"type": "block",
"id": "1",
"flavour": "affine:note",
"version": 1,
"props": {
"xywh": "[0,0,800,95]",
"background": "--affine-note-background-white",
"index": "a0",
"hidden": false,
"displayMode": "both",
"edgeless": {
"style": {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-box"
}
}
},
"children": [
{
"type": "block",
"id": "2",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "hello"
}
]
}
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/hotkey/hotkey.spec.ts/should-cut-work-single-line-init.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/hotkey-hotkey-should-cut-work-single-line/should-cut-work-single-line-init-actual.json
265 | // cut
266 | await page.keyboard.press(`${SHORT_KEY}+x`);
> 267 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
268 | `${testInfo.title}_init.json`
269 | );
270 | await undoByKeyboard(page);
at /home/runner/work/blocksuite/blocksuite/tests/hotkey/hotkey.spec.ts:267:45
|
attachment.spec.ts:614:1 › press backspace after bookmark block can select bookmark block:
tests/attachment.spec.ts#L69
1) 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
|
selection/native.spec.ts:289:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L318
1) selection/native.spec.ts:289:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 12
Received: -1
316 | const textTwo = await getInlineSelectionText(page);
317 | expect(textTwo).toBe('arrow down test 1');
> 318 | expect(indexTwo).toBeGreaterThanOrEqual(12);
| ^
319 | expect(indexTwo).toBeLessThanOrEqual(17);
320 | await page.keyboard.press('ArrowDown');
321 | const textThree = await getInlineSelectionText(page);
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:318:20
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/edgeless/paste-block.spec.ts#L63
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').nth(1).locator('.resizable-img')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').nth(1).locator('.resizable-img')
61 | const blocks = newNote.locator('[data-block-id]');
62 | await expect(blocks.nth(0)).toContainText('hello');
> 63 | await expect(blocks.nth(1).locator('.resizable-img')).toBeVisible();
| ^
64 | await expect(blocks.nth(2)).toContainText('world');
65 | await expect(blocks.nth(3)).toContainText('code');
66 | });
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/paste-block.spec.ts:63:59
|
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing:
tests/utils/actions/edgeless.ts#L357
1) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ─────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-slide-menu edgeless-tool-icon-button').filter({ hasText: 'Square' })
- locator resolved to <edgeless-tool-icon-button role="button">…</edgeless-tool-icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
at utils/actions/edgeless.ts:357
355 | .locator('edgeless-slide-menu edgeless-tool-icon-button')
356 | .filter({ hasText: shape });
> 357 | await squareShapeButton.click();
| ^
358 | break;
359 | }
360 | }
at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:357:31)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:137:3
|
format-bar.spec.ts:237:1 › should format quick bar be able to change background color:
tests/format-bar.spec.ts#L275
2) format-bar.spec.ts:237: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
273 |
274 | await expect(highlight.defaultColorBtn).toBeVisible();
> 275 | await highlight.defaultColorBtn.click();
| ^
276 |
277 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
278 | `${testInfo.title}_default_color.json`
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:275:35
|
format-bar.spec.ts:237:1 › should format quick bar be able to change background color:
tests/format-bar.spec.ts#L274
2) format-bar.spec.ts:237:1 › should format quick bar be able to change background color ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget').getByTestId('unset')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
272 | );
273 |
> 274 | await expect(highlight.defaultColorBtn).toBeVisible();
| ^
275 | await highlight.defaultColorBtn.click();
276 |
277 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:274:43
|
edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes:
tests/edgeless/note/drag-handle.spec.ts#L141
1) edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes ───────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('.affine-drag-handle-container')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('.affine-drag-handle-container')
- locator resolved to <div class="affine-drag-handle-container">…</div>
- unexpected value "visible"
- locator resolved to <div class="affine-drag-handle-container">…</div>
- unexpected value "visible"
- locator resolved to <div class="affine-drag-handle-container">…</div>
- unexpected value "visible"
- locator resolved to <div class="affine-drag-handle-container">…</div>
- unexpected value "visible"
- locator resolved to <div class="affine-drag-handle-container">…</div>
- unexpected value "visible"
- locator resolved to <div class="affine-drag-handle-container">…</div>
- unexpected value "visible"
- locator resolved to <div class="affine-drag-handle-container">…</div>
- unexpected value "visible"
- locator resolved to <div class="affine-drag-handle-container">…</div>
- unexpected value "visible"
- locator resolved to <div class="affine-drag-handle-container">…</div>
- unexpected value "visible"
139 | await page.mouse.dblclick(CENTER_X, CENTER_Y - 20);
140 | await dragHandleFromBlockToBlockBottomById(page, '3', '7');
> 141 | await expect(page.locator('.affine-drag-handle-container')).toBeHidden();
| ^
142 | await waitNextFrame(page);
143 | await assertRichTexts(page, ['456', '789', '000', '123']);
144 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/drag-handle.spec.ts:141:63
|
edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime:
tests/utils/actions/misc.ts#L333
1) edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime ──────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 10
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: Invalid schema for undefined: Schema not found. The block flavour may not be registered.
+ at m2.validate (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:97)
+ at Ll.updateBlock (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:68933)
+ at jy.updateElement (http://localhost:4173/assets/framework-CrRJy0Pw.js:183:40648)
+ at http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11157
+ at Cb.withoutTransact (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:73810)
+ at http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11134
+ at async Promise.all (index 0)
+ at async X0 (http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11215)
+ at async U1A._onPaste (http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:14646)
at utils/actions/misc.ts:333
331 | expect
332 | .soft('Unexpected console message: ' + message.text())
> 333 | .toBe(
| ^
334 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
335 | );
336 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:333:10)
|
edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime:
tests/utils/asserts.ts#L231
1) edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime ──────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-editor-container').first().locator('.resizable-img')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-editor-container').first().locator('.resizable-img')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
at utils/asserts.ts:231
229 | export async function assertRichImage(page: Page, count: number) {
230 | const editor = getEditorLocator(page);
> 231 | await expect(editor.locator('.resizable-img')).toHaveCount(count);
| ^
232 | }
233 |
234 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:231:50)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:49:11
|
edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime:
tests/utils/actions/misc.ts#L333
1) edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 10
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: Invalid schema for undefined: Schema not found. The block flavour may not be registered.
+ at m2.validate (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:97)
+ at Ll.updateBlock (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:68933)
+ at jy.updateElement (http://localhost:4173/assets/framework-CrRJy0Pw.js:183:40648)
+ at http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11157
+ at Cb.withoutTransact (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:73810)
+ at http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11134
+ at async Promise.all (index 0)
+ at async X0 (http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11215)
+ at async U1A._onPaste (http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:14646)
at utils/actions/misc.ts:333
331 | expect
332 | .soft('Unexpected console message: ' + message.text())
> 333 | .toBe(
| ^
334 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
335 | );
336 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:333:10)
|
edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime:
tests/utils/asserts.ts#L231
1) edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-editor-container').first().locator('.resizable-img')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-editor-container').first().locator('.resizable-img')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
at utils/asserts.ts:231
229 | export async function assertRichImage(page: Page, count: number) {
230 | const editor = getEditorLocator(page);
> 231 | await expect(editor.locator('.resizable-img')).toHaveCount(count);
| ^
232 | }
233 |
234 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:231:50)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:49:11
|
edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime:
tests/utils/actions/misc.ts#L333
1) edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime ──────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 10
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: Invalid schema for undefined: Schema not found. The block flavour may not be registered.
+ at m2.validate (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:97)
+ at Ll.updateBlock (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:68933)
+ at jy.updateElement (http://localhost:4173/assets/framework-CrRJy0Pw.js:183:40648)
+ at http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11157
+ at Cb.withoutTransact (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:73810)
+ at http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11134
+ at async Promise.all (index 0)
+ at async X0 (http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11215)
+ at async U1A._onPaste (http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:14646)
at utils/actions/misc.ts:333
331 | expect
332 | .soft('Unexpected console message: ' + message.text())
> 333 | .toBe(
| ^
334 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
335 | );
336 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:333:10)
|
edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime:
tests/utils/asserts.ts#L231
1) edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime ──────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-editor-container').first().locator('.resizable-img')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-editor-container').first().locator('.resizable-img')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
at utils/asserts.ts:231
229 | export async function assertRichImage(page: Page, count: number) {
230 | const editor = getEditorLocator(page);
> 231 | await expect(editor.locator('.resizable-img')).toHaveCount(count);
| ^
232 | }
233 |
234 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:231:50)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:49:11
|
edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime:
tests/utils/actions/misc.ts#L333
1) edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime ──────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 10
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: Invalid schema for undefined: Schema not found. The block flavour may not be registered.
+ at m2.validate (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:97)
+ at Ll.updateBlock (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:68933)
+ at jy.updateElement (http://localhost:4173/assets/framework-CrRJy0Pw.js:183:40648)
+ at http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11157
+ at Cb.withoutTransact (http://localhost:4173/assets/framework-CrRJy0Pw.js:52:73810)
+ at http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11134
+ at async Promise.all (index 0)
+ at async X0 (http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:11215)
+ at async U1A._onPaste (http://localhost:4173/assets/blocks-BsmNEbZA.js:10293:14646)
at utils/actions/misc.ts:333
331 | expect
332 | .soft('Unexpected console message: ' + message.text())
> 333 | .toBe(
| ^
334 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
335 | );
336 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:333:10)
|
edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime:
tests/utils/asserts.ts#L231
1) edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime ──────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-editor-container').first().locator('.resizable-img')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-editor-container').first().locator('.resizable-img')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
at utils/asserts.ts:231
229 | export async function assertRichImage(page: Page, count: number) {
230 | const editor = getEditorLocator(page);
> 231 | await expect(editor.locator('.resizable-img')).toHaveCount(count);
| ^
232 | }
233 |
234 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:231:50)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:49:11
|
E2E Test (6)
Process completed with exit code 1.
|
edgeless/selection/selection.spec.ts:198:1 › should auto panning when selection rectangle reaches viewport edges:
tests/edgeless/selection/selection.spec.ts#L362
1) edgeless/selection/selection.spec.ts:198: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')
360 | selectedRect = page.locator(selectedRectClass);
361 | await page.waitForTimeout(300);
> 362 | await expect(selectedRect).toBeVisible();
| ^
363 | });
364 |
365 | test('should also update dragging area when viewport changes', async ({
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/selection.spec.ts:362:30
|
edgeless/selection/selection.spec.ts:198:1 › should auto panning when selection rectangle reaches viewport edges:
tests/edgeless/selection/selection.spec.ts#L362
1) edgeless/selection/selection.spec.ts:198: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')
360 | selectedRect = page.locator(selectedRectClass);
361 | await page.waitForTimeout(300);
> 362 | await expect(selectedRect).toBeVisible();
| ^
363 | });
364 |
365 | test('should also update dragging area when viewport changes', async ({
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/selection.spec.ts:362:30
|
Build & Test
Process completed with exit code 1.
|
E2E Test (3)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (2)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (16)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (20)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (14)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (19)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (1)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (17)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (18)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (15)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (5)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (4)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (13)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (10)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (12)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (7)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (9)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (11)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (8)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
🎭 Playwright Run Summary
4 skipped
42 passed (44.0s)
|
🎭 Playwright Run Summary
1 skipped
45 passed (45.3s)
|
🎭 Playwright Run Summary
45 passed (50.5s)
|
🎭 Playwright Run Summary
3 skipped
42 passed (41.2s)
|
🎭 Playwright Run Summary
1 flaky
hotkey/hotkey.spec.ts:258:1 › should cut work single line ──────────────────────────────────────
44 passed (54.1s)
|
🎭 Playwright Run Summary
45 passed (51.5s)
|
🎭 Playwright Run Summary
45 passed (48.7s)
|
🎭 Playwright Run Summary
1 flaky
attachment.spec.ts:614:1 › press backspace after bookmark block can select bookmark block ──────
45 passed (56.3s)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:289:1 › cursor move to up and down with children block ────────────────
44 passed (58.3s)
|
🎭 Playwright Run Summary
2 skipped
43 passed (52.6s)
|
🎭 Playwright Run Summary
46 passed (1.1m)
|
🎭 Playwright Run Summary
46 passed (53.8s)
|
🎭 Playwright Run Summary
45 passed (1.1m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ──────────────────────
45 passed (1.3m)
|
🎭 Playwright Run Summary
2 flaky
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
format-bar.spec.ts:237:1 › should format quick bar be able to change background color ──────────
2 skipped
41 passed (1.2m)
|
🎭 Playwright Run Summary
1 skipped
45 passed (1.5m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes ────────
10 skipped
35 passed (1.2m)
|
🎭 Playwright Run Summary
1 failed
edgeless/clipboard.spec.ts:34:3 › mime › should paste svg in text/plain mime ───────────────────
45 passed (1.6m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/selection/selection.spec.ts:198:1 › should auto panning when selection rectangle reaches viewport edges
1 skipped
44 passed (1.9m)
|
🎭 Playwright Run Summary
46 passed (1.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results-e2e-6
|
3.35 MB |
|