fix(edgeless): wrong transparent shape overlay #15385
Annotations
9 errors and 1 notice
Run playwright test:
tests/utils/asserts.ts#L224
1) selection/native.spec.ts:928:1 › Delete the blank line between two dividers ───────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:224
222 | export async function assertDivider(page: Page, count: number) {
223 | const actual = await page.locator('affine-divider').count();
> 224 | expect(actual).toEqual(count);
| ^
225 | }
226 |
227 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:224:18)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:941:3
|
Run playwright test:
tests/utils/asserts.ts#L224
1) selection/native.spec.ts:928:1 › Delete the blank line between two dividers ───────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:224
222 | export async function assertDivider(page: Page, count: number) {
223 | const actual = await page.locator('affine-divider').count();
> 224 | expect(actual).toEqual(count);
| ^
225 | }
226 |
227 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:224:18)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:941:3
|
Run playwright test:
tests/utils/asserts.ts#L224
1) selection/native.spec.ts:928:1 › Delete the blank line between two dividers ───────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:224
222 | export async function assertDivider(page: Page, count: number) {
223 | const actual = await page.locator('affine-divider').count();
> 224 | expect(actual).toEqual(count);
| ^
225 | }
226 |
227 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:224:18)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:941:3
|
Run playwright test:
tests/utils/asserts.ts#L198
2) selection/native.spec.ts:1083:1 › should set the last block to end the range after when leaving the affine-note
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- "123",
- "456",
+ "123456",
"789",
+ "",
]
at utils/asserts.ts:198
196 | });
197 | }, currentEditorIndex);
> 198 | expect(actualTexts).toEqual(texts);
| ^
199 | }
200 |
201 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:198:23)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1089:3
|
Run playwright test:
tests/utils/asserts.ts#L198
3) selection/native.spec.ts:1327:1 › should unindent native multi-selection block ────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"123",
- "456",
- "789",
+ "456789",
+ "",
]
at utils/asserts.ts:198
196 | });
197 | }, currentEditorIndex);
> 198 | expect(actualTexts).toEqual(texts);
| ^
199 | }
200 |
201 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:198:23)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1331:3
|
Run playwright test:
tests/utils/asserts.ts#L303
4) selection/native.spec.ts:1781:1 › press ArrowUp and ArrowDown in the edge of two line ─────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "index": 0,
+ "index": 9,
"length": 0,
}
at utils/asserts.ts:303
301 | [richTextIndex, currentEditorIndex]
302 | );
> 303 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
304 | }
305 |
306 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:303:18)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1861:3
|
Run playwright test:
tests/selection/native.spec.ts#L2039
5) selection/native.spec.ts:2018:1 › auto-scroll when creating a new paragraph-block by pressing enter
Error: expect(received).toBeGreaterThan(expected)
Expected: > 1000
Received: 951
2037 | return viewport.scrollTop;
2038 | });
> 2039 | expect(scrollTop).toBeGreaterThan(1000);
| ^
2040 | });
2041 |
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:2039:21
|
Run playwright test:
tests/utils/asserts.ts#L198
6) slash-menu.spec.ts:466:1 › slash menu should work in edgeless mode ────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "/",
+ "",
]
at utils/asserts.ts:198
196 | });
197 | }, currentEditorIndex);
> 198 | expect(actualTexts).toEqual(texts);
| ^
199 | }
200 |
201 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:198:23)
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:473:3
|
Run playwright test:
tests/utils/asserts.ts#L623
7) slash-menu.spec.ts:769:1 › delete block by slash menu should remove children ──────────────────
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:list
prop:checked={false}
prop:collapsed={false}
prop:text="23"
prop:type="bulleted"
/>
</affine:note>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -14,9 +14,9 @@
prop:index="a0"
>
<affine:list
prop:checked={false}
prop:collapsed={false}
- prop:text="123"
+ prop:text="23"
prop:type="bulleted"
/>
</affine:note>
at utils/asserts.ts:623
621 | printFunctionName: false,
622 | });
> 623 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
624 | }
625 |
626 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:623:38)
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:785:3
|
Run playwright test
7 flaky
selection/native.spec.ts:928:1 › Delete the blank line between two dividers ────────────────────
selection/native.spec.ts:1083:1 › should set the last block to end the range after when leaving the affine-note
selection/native.spec.ts:1327:1 › should unindent native multi-selection block ─────────────────
selection/native.spec.ts:1781:1 › press ArrowUp and ArrowDown in the edge of two line ──────────
selection/native.spec.ts:2018:1 › auto-scroll when creating a new paragraph-block by pressing enter
slash-menu.spec.ts:466:1 › slash menu should work in edgeless mode ─────────────────────────────
slash-menu.spec.ts:769:1 › delete block by slash menu should remove children ───────────────────
2 skipped
55 passed (3.8m)
|
The logs for this run have expired and are no longer available.
Loading