fix(edgeless): snapshot with connector elements importing (#6377) #171
Annotations
6 errors, 1 warning, and 1 notice
Run playwright test:
tests/fragments/frame-panel.spec.ts#L1
1) fragments/frame-panel.spec.ts:29:3 › frame panel › should display frame cards when there are frames
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/edgeless.ts#L379
1) fragments/frame-panel.spec.ts:29:3 › frame panel › should display frame cards when there are frames
Error: mouse.click: Test timeout of 30000ms exceeded.
at utils/actions/edgeless.ts:379
377 | export async function addNote(page: Page, text: string, x: number, y: number) {
378 | await setEdgelessTool(page, 'note');
> 379 | await page.mouse.click(x, y);
| ^
380 | await waitNextFrame(page);
381 |
382 | const paragraphs = text.split('\n');
at addNote (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:379:20)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:40:5
|
Run playwright test:
tests/fragments/frame-panel.spec.ts#L1
2) fragments/frame-panel.spec.ts:56:3 › frame panel › should render note portal correctly in frame preview
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
Run playwright test:
tests/utils/asserts.ts#L632
3) 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:632
630 | printFunctionName: false,
631 | });
> 632 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
633 | }
634 |
635 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:632:38)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1013:3
|
Run playwright test:
tests/utils/asserts.ts#L207
4) hotkey.spec.ts:1145:1 › should ctrl+enter create new block ────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- "1",
- "23",
+ "12",
+ "3",
]
at utils/asserts.ts:207
205 | });
206 | }, currentEditorIndex);
> 207 | expect(actualTexts).toEqual(texts);
| ^
208 | }
209 |
210 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:207:23)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1155:3
|
Run playwright test:
tests/utils/asserts.ts#L228
5) 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:228
226 | const editor = getEditorLocator(page);
227 | const actual = await editor.locator('.resizable-img').count();
> 228 | expect(actual).toEqual(count);
| ^
229 | }
230 |
231 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:228: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
5 flaky
fragments/frame-panel.spec.ts:29:3 › frame panel › should display frame cards when there are frames
fragments/frame-panel.spec.ts:56:3 › frame panel › should render note portal correctly in frame preview
hotkey.spec.ts:1004:1 › should cut work single line ────────────────────────────────────────────
hotkey.spec.ts:1145:1 › should ctrl+enter create new block ─────────────────────────────────────
image.spec.ts:103:1 › can click and copy image ─────────────────────────────────────────────────
3 skipped
59 passed (3.7m)
|
The logs for this run have expired and are no longer available.
Loading