chore(edgeless): move templates to AFFiNE side #15939
Annotations
2 errors, 1 warning, and 1 notice
Run playwright test:
tests/utils/asserts.ts#L631
1) hotkey.spec.ts:1004:1 › should cut work single line ───────────────────────────────────────────
Error: <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:paragraph
prop:text="hello"
prop:type="text"
/>
</affine:note>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -13,9 +13,9 @@
}
prop:hidden={false}
prop:index="a0"
>
<affine:paragraph
- prop:text="ho"
+ prop:text="hello"
prop:type="text"
/>
</affine:note>
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/hotkey.spec.ts:1013:3
|
Run playwright test:
tests/utils/asserts.ts#L227
2) image.spec.ts:103:1 › can click and copy image ────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:227
225 | const editor = getEditorLocator(page);
226 | const actual = await editor.locator('.resizable-img').count();
> 227 | expect(actual).toEqual(count);
| ^
228 | }
229 |
230 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:227:18)
at /home/runner/work/blocksuite/blocksuite/tests/image.spec.ts:115: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, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run playwright test
2 flaky
hotkey.spec.ts:1004:1 › should cut work single line ────────────────────────────────────────────
image.spec.ts:103:1 › can click and copy image ─────────────────────────────────────────────────
4 skipped
59 passed (3.4m)
|
The logs for this run have expired and are no longer available.
Loading