perf: optimize snapshot job handling #6272
test.yml
on: pull_request
Install Dependencies
57s
Build & Test
0s
Annotations
25 errors, 18 warnings, and 20 notices
clipboard/list.spec.ts:382:1 › cut will delete all content:
tests/clipboard/list.spec.ts#L418
1) clipboard/list.spec.ts:382:1 › cut will delete all content, and copy will reappear content ────
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": "7",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "1"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": [
{
"type": "block",
"id": "89",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "2"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
},
{
"type": "block",
"id": "910",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "3"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
}
]
},
{
"type": "block",
"id": "108",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "4"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/clipboard/list.spec.ts/cut-will-delete-all-content-and-copy-will-reappear-content-after-paste.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/clipboard-list-cut-will-de-04d7b--copy-will-r
|
clipboard/list.spec.ts:382:1 › cut will delete all content:
tests/clipboard/list.spec.ts#L418
1) clipboard/list.spec.ts:382:1 › cut will delete all content, and copy will reappear content ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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": "7",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "1"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": [
{
"type": "block",
"id": "89",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "2"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
},
{
"type": "block",
"id": "910",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "3"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
}
]
},
{
"type": "block",
"id": "108",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "4"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/clipboard/list.spec.ts/cut-will-delete-all-content-and-copy-will-reappear-content-after-paste.json
Received: /h
|
clipboard/list.spec.ts:382:1 › cut will delete all content:
tests/clipboard/list.spec.ts#L418
1) clipboard/list.spec.ts:382:1 › cut will delete all content, and copy will reappear content ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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": "7",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "1"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": [
{
"type": "block",
"id": "89",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "2"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
},
{
"type": "block",
"id": "910",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "3"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
}
]
},
{
"type": "block",
"id": "108",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "4"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/clipboard/list.spec.ts/cut-will-delete-all-content-and-copy-will-reappear-content-after-paste.json
Received: /h
|
clipboard/list.spec.ts:382:1 › cut will delete all content:
tests/clipboard/list.spec.ts#L418
1) clipboard/list.spec.ts:382:1 › cut will delete all content, and copy will reappear content ────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
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": "7",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "1"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": [
{
"type": "block",
"id": "89",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "2"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
},
{
"type": "block",
"id": "910",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "3"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
}
]
},
{
"type": "block",
"id": "108",
"flavour": "affine:list",
"version": 1,
"props": {
"type": "bulleted",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "4"
}
]
},
"checked": false,
"collapsed": false,
"order": null
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/clipboard/list.spec.ts/cut-will-delete-all-content-and-copy-will-reappear-content-after-paste.json
Received: /h
|
clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image :
tests/utils/actions/misc.ts#L325
2) clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image
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: An error occurred while Y.doc doc:home transacting:"
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image :
tests/utils/actions/misc.ts#L325
2) clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 11
- 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: Length exceeded!
+ at Sr (http://localhost:4173/assets/framework-HkBRRyuk.js:1:27310)
+ at gE (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53552)
+ at _E (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53611)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:41:56340
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
+ at at.insert (http://localhost:4173/assets/framework-HkBRRyuk.js:41:56324)
+ at B2.addBlock (http://localhost:4173/assets/framework-HkBRRyuk.js:52:48990)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:66327
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:73515
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image :
tests/utils/actions/misc.ts#L325
2) clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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: An error occurred while Y.doc doc:home transacting:"
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image :
tests/utils/actions/misc.ts#L325
2) clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 11
- 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: Length exceeded!
+ at Sr (http://localhost:4173/assets/framework-HkBRRyuk.js:1:27310)
+ at gE (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53552)
+ at _E (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53611)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:41:56340
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
+ at at.insert (http://localhost:4173/assets/framework-HkBRRyuk.js:41:56324)
+ at B2.addBlock (http://localhost:4173/assets/framework-HkBRRyuk.js:52:48990)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:66327
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:73515
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image :
tests/utils/actions/misc.ts#L325
2) clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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: An error occurred while Y.doc doc:home transacting:"
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image :
tests/utils/actions/misc.ts#L325
2) clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 11
- 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: Length exceeded!
+ at Sr (http://localhost:4173/assets/framework-HkBRRyuk.js:1:27310)
+ at gE (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53552)
+ at _E (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53611)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:41:56340
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
+ at at.insert (http://localhost:4173/assets/framework-HkBRRyuk.js:41:56324)
+ at B2.addBlock (http://localhost:4173/assets/framework-HkBRRyuk.js:52:48990)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:66327
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:73515
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
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-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 was detached from the DOM, retrying
at utils/actions/edgeless.ts:357
355 | .locator('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
|
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
|
src/__tests__/adapters/markdown.unit.spec.ts > snapshot to markdown > synced-doc:
packages/blocks/src/__tests__/adapters/markdown.unit.spec.ts#L2006
AssertionError: expected '# Test Doc\n\nHello\n\n# Synced Doc\n…' to be '# Test Doc\n\nHello\n\n# Synced Doc\n…' // Object.is equality
- Expected
+ Received
# Test Doc
Hello
# Synced Doc
- # Heading 1
-
- ## heading 2
-
- paragraph
-
- ~~strike~~
-
- ```cpp
- Hello world!
- ```
-
- Deepest Doc
-
World!
❯ src/__tests__/adapters/markdown.unit.spec.ts:2006:25
|
Unit Test (1)
Process completed with exit code 1.
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/utils/actions/misc.ts#L325
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
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: An error occurred while Y.doc doc:home transacting:"
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/utils/actions/misc.ts#L325
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 11
- 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: Length exceeded!
+ at Sr (http://localhost:4173/assets/framework-HkBRRyuk.js:1:27310)
+ at gE (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53552)
+ at _E (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53611)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:41:56340
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
+ at at.insert (http://localhost:4173/assets/framework-HkBRRyuk.js:41:56324)
+ at B2.addBlock (http://localhost:4173/assets/framework-HkBRRyuk.js:52:48990)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:66327
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:73515
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/utils/actions/misc.ts#L325
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
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: An error occurred while Y.doc doc:home transacting:"
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/utils/actions/misc.ts#L325
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 11
- 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: Length exceeded!
+ at Sr (http://localhost:4173/assets/framework-HkBRRyuk.js:1:27310)
+ at gE (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53552)
+ at _E (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53611)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:41:56340
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
+ at at.insert (http://localhost:4173/assets/framework-HkBRRyuk.js:41:56324)
+ at B2.addBlock (http://localhost:4173/assets/framework-HkBRRyuk.js:52:48990)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:66327
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:73515
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/utils/actions/misc.ts#L325
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
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: An error occurred while Y.doc doc:home transacting:"
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/utils/actions/misc.ts#L325
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 11
- 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: Length exceeded!
+ at Sr (http://localhost:4173/assets/framework-HkBRRyuk.js:1:27310)
+ at gE (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53552)
+ at _E (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53611)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:41:56340
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
+ at at.insert (http://localhost:4173/assets/framework-HkBRRyuk.js:41:56324)
+ at B2.addBlock (http://localhost:4173/assets/framework-HkBRRyuk.js:52:48990)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:66327
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:73515
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/edgeless/paste-block.spec.ts#L64
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').nth(2)
Expected string: "world"
Received: <element(s) not found>
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').nth(2)
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 | });
67 | test('pasting a edgeless block', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/paste-block.spec.ts:64:33
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/utils/actions/misc.ts#L325
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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: An error occurred while Y.doc doc:home transacting:"
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/utils/actions/misc.ts#L325
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 11
- 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: Length exceeded!
+ at Sr (http://localhost:4173/assets/framework-HkBRRyuk.js:1:27310)
+ at gE (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53552)
+ at _E (http://localhost:4173/assets/framework-HkBRRyuk.js:41:53611)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:41:56340
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
+ at at.insert (http://localhost:4173/assets/framework-HkBRRyuk.js:41:56324)
+ at B2.addBlock (http://localhost:4173/assets/framework-HkBRRyuk.js:52:48990)
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:66327
+ at http://localhost:4173/assets/framework-HkBRRyuk.js:52:73515
+ at Ae (http://localhost:4173/assets/framework-HkBRRyuk.js:41:37506)
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/utils/actions/misc.ts#L325
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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: An error occurred while Y.doc doc:home transacting:"
at utils/actions/misc.ts:325
323 | expect
324 | .soft('Unexpected console message: ' + message.text())
> 325 | .toBe(
| ^
326 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
327 | );
328 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:325:10)
|
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (6)
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
|
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
|
🎭 Playwright Run Summary
4 skipped
41 passed (43.8s)
|
🎭 Playwright Run Summary
45 passed (49.2s)
|
🎭 Playwright Run Summary
3 skipped
42 passed (44.8s)
|
🎭 Playwright Run Summary
2 skipped
43 passed (51.5s)
|
🎭 Playwright Run Summary
2 failed
clipboard/list.spec.ts:382:1 › cut will delete all content, and copy will reappear content ─────
clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image
1 skipped
43 passed (53.6s)
|
🎭 Playwright Run Summary
45 passed (47.8s)
|
🎭 Playwright Run Summary
46 passed (50.9s)
|
🎭 Playwright Run Summary
45 passed (52.0s)
|
🎭 Playwright Run Summary
45 passed (55.2s)
|
🎭 Playwright Run Summary
45 passed (1.1m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
2 skipped
42 passed (1.1m)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:289:1 › cursor move to up and down with children block ────────────────
44 passed (59.2s)
|
🎭 Playwright Run Summary
45 passed (1.1m)
|
🎭 Playwright Run Summary
45 passed (54.9s)
|
🎭 Playwright Run Summary
10 skipped
35 passed (1.2m)
|
🎭 Playwright Run Summary
45 passed (1.4m)
|
🎭 Playwright Run Summary
1 skipped
44 passed (1.4m)
|
🎭 Playwright Run Summary
2 failed
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ──────────────────────
edgeless/paste-block.spec.ts:67:3 › pasting blocks › pasting a edgeless block ──────────────────
1 flaky
edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ────────────────────────
42 passed (1.6m)
|
🎭 Playwright Run Summary
1 skipped
44 passed (1.6m)
|
🎭 Playwright Run Summary
45 passed (1.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results-e2e-10
Expired
|
14.4 MB |
|
test-results-e2e-2
Expired
|
5.21 MB |
|