chore: tweak update complete #7664
Annotations
10 errors and 1 notice
Run playwright test:
tests/utils/asserts.ts#L331
1) image/image.spec.ts:137:1 › should support the enter key of image caption ─────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/image.spec.ts:153:3
|
Run playwright test:
tests/utils/asserts.ts#L331
1) image/image.spec.ts:137:1 › should support the enter key of image caption ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/image.spec.ts:153:3
|
Run playwright test:
tests/utils/asserts.ts#L331
1) image/image.spec.ts:137:1 › should support the enter key of image caption ─────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/image.spec.ts:153:3
|
Run playwright test:
tests/utils/asserts.ts#L331
1) image/image.spec.ts:137:1 › should support the enter key of image caption ─────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/image.spec.ts:153:3
|
Run playwright test:
tests/utils/asserts.ts#L209
2) image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ─────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "aa",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:34:3
|
Run playwright test:
tests/utils/asserts.ts#L209
2) image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "aa",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:34:3
|
Run playwright test:
tests/utils/asserts.ts#L209
2) image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ─────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "aa",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:34:3
|
Run playwright test:
tests/utils/asserts.ts#L209
2) image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ─────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "aa",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:34:3
|
Run playwright test:
tests/utils/asserts.ts#L331
3) image/keymap.spec.ts:37:1 › press backspace after image block can select image block ──────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:42:3
|
Run playwright test:
tests/utils/asserts.ts#L331
3) image/keymap.spec.ts:37:1 › press backspace after image block can select image block ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:42:3
|
Run playwright test
13 failed
image/image.spec.ts:137:1 › should support the enter key of image caption ──────────────────────
image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ──────
image/keymap.spec.ts:37:1 › press backspace after image block can select image block ───────────
image/keymap.spec.ts:49:1 › press enter when image is selected should move next paragraph and should placeholder
image/keymap.spec.ts:69:1 › press arrow down when image is selected should move to previous paragraph
latex/block.spec.ts:12:1 › add latex block using slash menu ────────────────────────────────────
latex/block.spec.ts:28:1 › add latex block using markdown shortcut with space ──────────────────
latex/block.spec.ts:46:1 › add latex block using markdown shortcut with enter ──────────────────
latex/inline.spec.ts:220:1 › add inline latex using slash menu ─────────────────────────────────
latex/inline.spec.ts:251:1 › add inline latex using markdown shortcut ──────────────────────────
link.spec.ts:95:1 › add link when dragging from empty line ─────────────────────────────────────
link.spec.ts:311:1 › link bar should not be appear when the range is collapsed ─────────────────
link.spec.ts:394:1 › convert link to card ──────────────────────────────────────────────────────
1 flaky
latex/inline.spec.ts:94:1 › update inline latex by clicking the node ───────────────────────────
1 skipped
32 passed (2.3m)
|
Loading