fix(page): markdown export list early closing issue (#6151) #144
Annotations
4 errors, 1 warning, and 1 notice
tests/utils/asserts.ts#L631
1) clipboard.spec.ts:921:1 › should copy and paste of database work ──────────────────────────────
Error: <affine:page>
<affine:note
prop:background="--affine-background-secondary-color"
prop:displayMode="both"
prop:edgeless={
Object {
"style": Object {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "solid",
"shadowType": "--affine-note-shadow-box",
},
}
}
prop:hidden={false}
prop:index="a0"
>
<affine:database
prop:columns="Array [2]"
prop:title="Database 1"
prop:views="Array [1]"
>
<affine:paragraph
prop:type="text"
/>
</affine:database>
<affine:paragraph
prop:type="text"
/>
</affine:note>
</affine:page>
expect(received).toEqual(expected) // deep equality
- Expected - 9
+ Received + 0
@@ -22,19 +22,10 @@
>
<affine:paragraph
prop:type="text"
/>
</affine:database>
- <affine:database
- prop:columns="Array [2]"
- prop:title="Database 1"
- prop:views="Array [1]"
- >
- <affine:paragraph
- prop:type="text"
- />
- </affine:database>
<affine:paragraph
prop:type="text"
/>
</affine:note>
</affine:page>
at utils/asserts.ts:631
629 | printFunctionName: false,
630 | });
> 631 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
632 | }
633 |
634 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:631:38)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:937:3
|
tests/clipboard.spec.ts#L1
2) clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode ─────────────────
Test timeout of 30000ms exceeded.
|
tests/utils/actions/keyboard.ts#L139
2) 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:139
137 |
138 | export async function copyByKeyboard(page: Page) {
> 139 | await page.keyboard.press(`${SHORT_KEY}+c`, { delay: 20 });
| ^
140 | }
141 |
142 | export async function cutByKeyboard(page: Page) {
at copyByKeyboard (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:139:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1028:9
|
tests/utils/asserts.ts#L186
3) 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
|
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/.
|
3 flaky
clipboard.spec.ts:921:1 › should copy and paste of database work ───────────────────────────────
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
55 passed (3.1m)
|
The logs for this run have expired and are no longer available.
Loading