refactor: support multiple-editors #15053
Annotations
2 errors and 1 notice
Run playwright test:
tests/hotkey.spec.ts#L1
1) hotkey.spec.ts:131:1 › multi line rich-text inline code hotkey ────────────────────────────────
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#L621
2) hotkey.spec.ts:986:1 › should cut work single line ────────────────────────────────────────────
Error: <affine:note
prop:background="--affine-background-secondary-color"
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
@@ -12,9 +12,9 @@
}
prop:hidden={false}
prop:index="a0"
>
<affine:paragraph
- prop:text="ho"
+ prop:text="hello"
prop:type="text"
/>
</affine:note>
at utils/asserts.ts:621
619 | printFunctionName: false,
620 | });
> 621 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
622 | }
623 |
624 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:621:38)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:995:3
|
Run playwright test
2 flaky
hotkey.spec.ts:131:1 › multi line rich-text inline code hotkey ─────────────────────────────────
hotkey.spec.ts:986:1 › should cut work single line ─────────────────────────────────────────────
5 skipped
57 passed (3.1m)
|
The logs for this run have expired and are no longer available.
Loading