refactor: support multiple-editors #15034
Annotations
10 errors, 1 warning, and 1 notice
Run playwright test:
tests/utils/asserts.ts#L511
1) clipboard.spec.ts:219:1 › markdown format parse ───────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 13
+ Received + 1
Array [
- "h1",
- "h2",
- "h3",
- "h4",
- "h5",
- "h6",
- "todo",
- "todo",
- "todo",
- "bulleted",
- "bulleted",
- "numbered",
- "quote",
+ "text",
]
at utils/asserts.ts:511
509 | );
510 | }, currentEditorIndex);
> 511 | expect(actual).toEqual(blockTypes);
| ^
512 | }
513 |
514 | /**
at assertBlockTypes (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:511:18)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:256:3
|
Run playwright test:
tests/utils/asserts.ts#L511
1) clipboard.spec.ts:219:1 › markdown format parse ───────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 13
+ Received + 1
Array [
- "h1",
- "h2",
- "h3",
- "h4",
- "h5",
- "h6",
- "todo",
- "todo",
- "todo",
- "bulleted",
- "bulleted",
- "numbered",
- "quote",
+ "text",
]
at utils/asserts.ts:511
509 | );
510 | }, currentEditorIndex);
> 511 | expect(actual).toEqual(blockTypes);
| ^
512 | }
513 |
514 | /**
at assertBlockTypes (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:511:18)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:256:3
|
Run playwright test:
tests/utils/asserts.ts#L511
1) clipboard.spec.ts:219:1 › markdown format parse ───────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 13
+ Received + 1
Array [
- "h1",
- "h2",
- "h3",
- "h4",
- "h5",
- "h6",
- "todo",
- "todo",
- "todo",
- "bulleted",
- "bulleted",
- "numbered",
- "quote",
+ "text",
]
at utils/asserts.ts:511
509 | );
510 | }, currentEditorIndex);
> 511 | expect(actual).toEqual(blockTypes);
| ^
512 | }
513 |
514 | /**
at assertBlockTypes (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:511:18)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:256:3
|
Run playwright test:
tests/utils/asserts.ts#L511
1) clipboard.spec.ts:219:1 › markdown format parse ───────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 13
+ Received + 1
Array [
- "h1",
- "h2",
- "h3",
- "h4",
- "h5",
- "h6",
- "todo",
- "todo",
- "todo",
- "bulleted",
- "bulleted",
- "numbered",
- "quote",
+ "text",
]
at utils/asserts.ts:511
509 | );
510 | }, currentEditorIndex);
> 511 | expect(actual).toEqual(blockTypes);
| ^
512 | }
513 |
514 | /**
at assertBlockTypes (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:511:18)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:256:3
|
Run playwright test:
tests/utils/asserts.ts#L196
2) clipboard.spec.ts:317:1 › split block when paste ──────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
- "atext",
- "h1c",
+ "abc",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:335:3
|
Run playwright test:
tests/utils/asserts.ts#L196
2) clipboard.spec.ts:317:1 › split block when paste ──────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
- "atext",
- "h1c",
+ "abc",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:335:3
|
Run playwright test:
tests/utils/asserts.ts#L196
2) clipboard.spec.ts:317:1 › split block when paste ──────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
- "atext",
- "h1c",
+ "abc",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:335:3
|
Run playwright test:
tests/utils/asserts.ts#L196
2) clipboard.spec.ts:317:1 › split block when paste ──────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
- "atext",
- "h1c",
+ "abc",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:335:3
|
Run playwright test:
tests/utils/asserts.ts#L196
3) clipboard.spec.ts:358:1 › import markdown ─────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
- "text",
- "h1",
+ "",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:368:3
|
Run playwright test:
tests/utils/asserts.ts#L196
3) clipboard.spec.ts:358:1 › import markdown ─────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
- "text",
- "h1",
+ "",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:368:3
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run playwright test
9 failed
clipboard.spec.ts:219:1 › markdown format parse ────────────────────────────────────────────────
clipboard.spec.ts:317:1 › split block when paste ───────────────────────────────────────────────
clipboard.spec.ts:358:1 › import markdown ──────────────────────────────────────────────────────
clipboard.spec.ts:373:1 › copy clipItems format ────────────────────────────────────────────────
clipboard.spec.ts:460:1 › paste a non-nested list to a non-nested list ─────────────────────────
clipboard.spec.ts:496:1 › copy a nested list by clicking button, the clipboard data should be complete
clipboard.spec.ts:533:1 › paste a nested list to a nested list ─────────────────────────────────
clipboard.spec.ts:614:1 › paste nested lists to a nested list ──────────────────────────────────
clipboard.spec.ts:707:1 › paste non-nested lists to a nested list ──────────────────────────────
2 flaky
attachment.spec.ts:261:1 › should rename attachment works ──────────────────────────────────────
attachment.spec.ts:300:1 › should turn attachment to image works ───────────────────────────────
16 skipped
38 passed (4.4m)
|
The logs for this run have expired and are no longer available.
Loading