fix(edgeless): should generate connectors' path once when loading connector middleware #15710
Annotations
4 errors and 1 notice
Run playwright test:
tests/utils/asserts.ts#L630
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:630
628 | printFunctionName: false,
629 | });
> 630 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
631 | }
632 |
633 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:630:38)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1013:3
|
Run playwright test:
tests/utils/asserts.ts#L205
2) 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",
+ "123",
+ "",
]
at utils/asserts.ts:205
203 | });
204 | }, currentEditorIndex);
> 205 | expect(actualTexts).toEqual(texts);
| ^
206 | }
207 |
208 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:205:23)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1155:3
|
Run playwright test:
tests/link.spec.ts#L373
3) link.spec.ts:358:1 › convert link to card ─────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-link-popover')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-link-popover')
371 | await waitNextFrame(page);
372 | const linkPopoverLocator = page.locator('.affine-link-popover');
> 373 | await expect(linkPopoverLocator).toBeVisible();
| ^
374 | const linkPopoverInput = page.locator('.affine-link-popover-input');
375 | await expect(linkPopoverInput).toBeVisible();
376 | await type(page, link);
at /home/runner/work/blocksuite/blocksuite/tests/link.spec.ts:373:36
|
Run playwright test:
tests/utils/actions/misc.ts#L247
4) linked-page.spec.ts:519:3 › reference node › can create linked page and jump ──────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to clean text! Text mismatch expected: @page but actual: page0"
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
Run playwright test
4 flaky
hotkey.spec.ts:1004:1 › should cut work single line ────────────────────────────────────────────
hotkey.spec.ts:1145:1 › should ctrl+enter create new block ─────────────────────────────────────
link.spec.ts:358:1 › convert link to card ──────────────────────────────────────────────────────
linked-page.spec.ts:519:3 › reference node › can create linked page and jump ───────────────────
5 skipped
55 passed (3.3m)
|
The logs for this run have expired and are no longer available.
Loading