fix: should not reload bookmark when title is not empty (#5882) #15033
test.yaml
on: push
Node.js Environment Compatibility
49s
Unit test
1m 10s
Integration test
26s
Inline Editor E2E test
47s
Matrix: Playground E2E test
Annotations
35 errors and 11 notices
clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode:
tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ─────────────────
Test timeout of 30000ms exceeded.
|
clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode:
tests/utils/actions/keyboard.ts#L159
1) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ─────────────────
Error: keyboard.press: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:159
157 | }
158 |
> 159 | await page.keyboard.press(`${SHORT_KEY}+v`, { delay: 50 });
| ^
160 | }
161 |
162 | export async function createCodeBlock(page: Page) {
at pasteByKeyboard (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:159:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1031:9
|
database/column.spec.ts:398:3 › select column tag action › should support select tag renaming:
tests/database/column.spec.ts#L1
1) database/column.spec.ts:398:3 › select column tag action › should support select tag renaming ─
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.
|
database/column.spec.ts:415:3 › select column tag action › should select tag renaming support shortcut key:
tests/database/column.spec.ts#L1
2) database/column.spec.ts:415:3 › select column tag action › should select tag renaming support shortcut key
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.
|
edgeless/auto-complete.spec.ts:111:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note:
tests/utils/asserts.ts#L196
3) edgeless/auto-complete.spec.ts:111:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "hello",
+ "llo",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/auto-complete.spec.ts:127:7
|
attachment.spec.ts:261:1 › should rename attachment works:
tests/attachment.spec.ts#L1
1) attachment.spec.ts:261:1 › should rename attachment works ─────────────────────────────────────
Test timeout of 30000ms exceeded.
|
attachment.spec.ts:261:1 › should rename attachment works:
tests/attachment.spec.ts#L68
1) attachment.spec.ts:261:1 › should rename attachment works ─────────────────────────────────────
Error: locator.innerText: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('affine-attachment').locator('.affine-attachment-name')
66 |
67 | const getName = () =>
> 68 | attachment.locator('.affine-attachment-name').innerText();
| ^
69 |
70 | return {
71 | // locators
at getName (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:68:51)
at rename (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:100:20)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:292:3
|
attachment.spec.ts:300:1 › should turn attachment to image works:
tests/utils/asserts.ts#L217
2) attachment.spec.ts:300:1 › should turn attachment to image works ──────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 1
Received: 0
at utils/asserts.ts:217
215 | const editor = getEditorLocator(page);
216 | const actual = await editor.locator('.resizable-img').count();
> 217 | expect(actual).toEqual(count);
| ^
218 | }
219 |
220 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:217:18)
at turnToEmbed (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:90:7)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:311:3
|
edgeless/basic.spec.ts:67:1 › can zoom viewport:
tests/edgeless/basic.spec.ts#L1
1) edgeless/basic.spec.ts:67:1 › can zoom viewport ───────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/basic.spec.ts:67:1 › can zoom viewport:
tests/utils/actions/misc.ts#L289
1) edgeless/basic.spec.ts:67:1 › can zoom viewport ───────────────────────────────────────────────
Error: page.waitForTimeout: Test timeout of 30000ms exceeded.
at utils/actions/misc.ts:289
287 | frameTimeout = NEXT_FRAME_TIMEOUT
288 | ) {
> 289 | await page.waitForTimeout(frameTimeout);
| ^
290 | }
291 |
292 | export async function waitForPageReady(page: Page) {
at waitNextFrame (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:289:14)
at getZoomLevel (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:641:9)
at assertZoomLevel (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:893:13)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:91:3
|
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element:
tests/edgeless/basic.spec.ts#L1
2) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ──────────────────
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.
|
edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown:
tests/edgeless/basic.spec.ts#L187
3) edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
Error: expect.toBeVisible: Error: strict mode violation: locator('.affine-tooltip') resolved to 2 elements:
1) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'Select V' })
2) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'More' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-tooltip')
185 |
186 | await page.mouse.move(moreButtonBox.x + 10, moreButtonBox.y + 10);
> 187 | await expect(tooltip).toBeVisible();
| ^
188 |
189 | await page.mouse.click(moreButtonBox.x + 10, moreButtonBox.y + 10);
190 | await expect(tooltip).toBeHidden();
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:187:25
|
hotkey.spec.ts:131:1 › multi line rich-text inline code hotkey:
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.
|
hotkey.spec.ts:986:1 › should cut work single line:
tests/hotkey.spec.ts#L1022
2) hotkey.spec.ts:986:1 › should cut work single line ────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "ell"
Received: ""
1020 | await undoByKeyboard(page);
1021 | const text = await readClipboardText(page);
> 1022 | expect(text).toBe('ell');
| ^
1023 | await assertStoreMatchJSX(
1024 | page,
1025 | `
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1022:16
|
image.spec.ts:100:1 › can click and copy image:
tests/utils/asserts.ts#L217
3) image.spec.ts:100:1 › can click and copy image ────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:217
215 | const editor = getEditorLocator(page);
216 | const actual = await editor.locator('.resizable-img').count();
> 217 | expect(actual).toEqual(count);
| ^
218 | }
219 |
220 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:217:18)
at /home/runner/work/blocksuite/blocksuite/tests/image.spec.ts:110:3
|
paragraph.spec.ts:1585:1 › paragraph indent and delete in line start:
tests/paragraph.spec.ts#L1
1) paragraph.spec.ts:1585:1 › paragraph indent and delete in line start ──────────────────────────
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.
|
selection/native.spec.ts:514:1 › cursor move up and down through note:
tests/selection/native.spec.ts#L526
2) selection/native.spec.ts:514:1 › cursor move up and down through note ─────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "4"
Received: "2"
524 | await pressArrowUp(page);
525 | currentId = (await getCursorBlockIdAndHeight(page))[0];
> 526 | expect(id).toBe(currentId);
| ^
527 | });
528 |
529 | test('double click choose words', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:526:14
|
selection/native.spec.ts:928:1 › Delete the blank line between two dividers:
tests/utils/asserts.ts#L222
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:222
220 | export async function assertDivider(page: Page, count: number) {
221 | const actual = await page.locator('affine-divider').count();
> 222 | expect(actual).toEqual(count);
| ^
223 | }
224 |
225 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:222:18)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:941:3
|
edgeless/shape.spec.ts:65:3 › add shape › with holding shift key:
tests/edgeless/shape.spec.ts#L1
1) edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ──────────────────────────────
Test timeout of 30000ms exceeded.
|
list.spec.ts:719:3 › toggle list › click toggle icon should collapsed list:
tests/list.spec.ts#L716
1) list.spec.ts:719:3 › toggle list › click toggle icon should collapsed list ────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: false
Received: true
714 |
715 | async function assertToggleIconVisible(toggleIcon: Locator, expected = true) {
> 716 | expect(await isToggleIconVisible(toggleIcon)).toBe(expected);
| ^
717 | }
718 |
719 | test('click toggle icon should collapsed list', async ({ page }) => {
at assertToggleIconVisible (/home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:716:51)
at /home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:823:5
|
edgeless/shape.spec.ts:65:3 › add shape › with holding shift key:
tests/utils/asserts.ts#L787
1) edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ──────────────────────────────
Error: locator.boundingBox: Target page, context or browser has been closed
at utils/asserts.ts:787
785 | .locator('edgeless-selected-rect')
786 | .locator('.affine-edgeless-selected-rect');
> 787 | const box = await selectedRect.boundingBox();
| ^
788 | if (!box) throw new Error('Missing edgeless selected rect');
789 |
790 | expect(box.x).toBeCloseTo(x, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:787:34)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:79:11
|
list.spec.ts:719:3 › toggle list › click toggle icon should collapsed list:
tests/utils/asserts.ts#L621
1) list.spec.ts:719:3 › toggle list › click toggle icon should collapsed list ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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="3"
prop:type="bulleted"
/>
<affine:list
prop:checked={false}
prop:collapsed={true}
prop:text="456"
prop:type="bulleted"
>
<affine:list
prop:checked={false}
prop:collapsed={false}
prop:text="789"
prop:type="bulleted"
/>
</affine:list>
</affine:note>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -14,11 +14,11 @@
prop:index="a0"
>
<affine:list
prop:checked={false}
prop:collapsed={false}
- prop:text="123"
+ prop:text="3"
prop:type="bulleted"
/>
<affine:list
prop:checked={false}
prop:collapsed={true}
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/list.spec.ts:733:5
|
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar:
tests/edgeless/shape.spec.ts#L1
2) edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ───────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar:
tests/utils/actions/drag.ts#L21
2) edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ───────────────────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicBrushElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:337:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:99:3
|
edgeless/shape.spec.ts:131:1 › change shape stroke color:
tests/edgeless/shape.spec.ts#L1
3) edgeless/shape.spec.ts:131:1 › change shape stroke color ──────────────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:131:1 › change shape stroke color:
tests/utils/actions/edgeless.ts#L934
3) edgeless/shape.spec.ts:131:1 › change shape stroke color ──────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('edgeless-change-shape-button').locator('.color-panel-container.stroke-color').locator('.color-unit[aria-label="--affine-palette-line-navy"]')
at utils/actions/edgeless.ts:934
932 | .locator('.color-panel-container.stroke-color')
933 | .locator(`.color-unit[aria-label="${color}"]`);
> 934 | await colorButton.click();
| ^
935 | }
936 |
937 | export async function resizeConnectorByStartCapitalHandler(
at changeShapeStrokeColor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:934:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:145:9
|
edgeless/group.spec.ts:270:5 › group › release from group › release group from group:
tests/edgeless/group.spec.ts#L233
1) edgeless/group.spec.ts:270:5 › group › release from group › release group from group ──────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
231 |
232 | test.describe('release from group', () => {
> 233 | test.beforeEach(async ({ page }) => {
| ^
234 | await init(page);
235 | await createShapeElement(page, [200, 0], [300, 100], Shape.Square);
236 | await selectAllByKeyboard(page);
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:233:10
|
edgeless/group.spec.ts:270:5 › group › release from group › release group from group:
tests/utils/actions/drag.ts#L21
1) edgeless/group.spec.ts:270:5 › group › release from group › release group from group ──────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:357:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1229:3)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:43:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:234:7
|
edgeless/group.spec.ts:327:5 › group › delete › delete root group:
tests/edgeless/group.spec.ts#L323
2) edgeless/group.spec.ts:327:5 › group › delete › delete root group ─────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
321 |
322 | test.describe('delete', () => {
> 323 | test.beforeEach(async ({ page }) => {
| ^
324 | await init(page);
325 | });
326 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:323:10
|
edgeless/group.spec.ts:327:5 › group › delete › delete root group:
tests/utils/actions/drag.ts#L21
2) edgeless/group.spec.ts:327:5 › group › delete › delete root group ─────────────────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:357:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1229:3)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:43:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:324:7
|
edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group:
tests/edgeless/group.spec.ts#L323
3) edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group ───────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
321 |
322 | test.describe('delete', () => {
> 323 | test.beforeEach(async ({ page }) => {
| ^
324 | await init(page);
325 | });
326 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:323:10
|
edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group:
tests/utils/actions/drag.ts#L21
3) edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group ───────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:357:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1229:3)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:43:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:324:7
|
edgeless/note.spec.ts:127:1 › resize note then auto size and custom size:
tests/utils/asserts.ts#L771
4) edgeless/note.spec.ts:127:1 › resize note then auto size and custom size ──────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 91
Received: 95
Expected precision: 0
Expected difference: < 0.5
Received difference: 4
at utils/asserts.ts:771
769 | expect(a.y).toBeCloseTo(b.y, 0);
770 | expect(a.w).toBeCloseTo(b.w, 0);
> 771 | expect(a.h).toBeCloseTo(b.h, 0);
| ^
772 | }
773 |
774 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) {
at assertRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:15)
at assertNoteRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:764:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:172:3
|
edgeless/note.spec.ts:127:1 › resize note then auto size and custom size:
tests/utils/asserts.ts#L771
4) edgeless/note.spec.ts:127:1 › resize note then auto size and custom size ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 91
Received: 95
Expected precision: 0
Expected difference: < 0.5
Received difference: 4
at utils/asserts.ts:771
769 | expect(a.y).toBeCloseTo(b.y, 0);
770 | expect(a.w).toBeCloseTo(b.w, 0);
> 771 | expect(a.h).toBeCloseTo(b.h, 0);
| ^
772 | }
773 |
774 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) {
at assertRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:15)
at assertNoteRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:764:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:172:3
|
edgeless/note.spec.ts:127:1 › resize note then auto size and custom size:
tests/utils/asserts.ts#L771
4) edgeless/note.spec.ts:127:1 › resize note then auto size and custom size ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 91
Received: 95
Expected precision: 0
Expected difference: < 0.5
Received difference: 4
at utils/asserts.ts:771
769 | expect(a.y).toBeCloseTo(b.y, 0);
770 | expect(a.w).toBeCloseTo(b.w, 0);
> 771 | expect(a.h).toBeCloseTo(b.h, 0);
| ^
772 | }
773 |
774 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) {
at assertRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:15)
at assertNoteRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:764:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:172:3
|
🎭 Playwright Run Summary
12 passed (23.0s)
|
🎭 Playwright Run Summary
1 flaky
clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ──────────────────
7 skipped
56 passed (2.9m)
|
🎭 Playwright Run Summary
3 flaky
database/column.spec.ts:398:3 › select column tag action › should support select tag renaming ──
database/column.spec.ts:415:3 › select column tag action › should select tag renaming support shortcut key
edgeless/auto-complete.spec.ts:111:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
61 passed (3.5m)
|
🎭 Playwright Run Summary
2 flaky
attachment.spec.ts:261:1 › should rename attachment works ──────────────────────────────────────
attachment.spec.ts:300:1 › should turn attachment to image works ───────────────────────────────
16 skipped
47 passed (2.7m)
|
🎭 Playwright Run Summary
3 flaky
edgeless/basic.spec.ts:67:1 › can zoom viewport ────────────────────────────────────────────────
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ───────────────────
edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
3 skipped
58 passed (4.3m)
|
🎭 Playwright Run Summary
3 flaky
hotkey.spec.ts:131:1 › multi line rich-text inline code hotkey ─────────────────────────────────
hotkey.spec.ts:986:1 › should cut work single line ─────────────────────────────────────────────
image.spec.ts:100:1 › can click and copy image ─────────────────────────────────────────────────
5 skipped
56 passed (3.1m)
|
🎭 Playwright Run Summary
2 flaky
paragraph.spec.ts:1585:1 › paragraph indent and delete in line start ───────────────────────────
selection/native.spec.ts:514:1 › cursor move up and down through note ──────────────────────────
1 skipped
61 passed (3.3m)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:928:1 › Delete the blank line between two dividers ────────────────────
2 skipped
61 passed (3.0m)
|
🎭 Playwright Run Summary
1 flaky
list.spec.ts:719:3 › toggle list › click toggle icon should collapsed list ─────────────────────
63 passed (3.1m)
|
🎭 Playwright Run Summary
3 flaky
edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ───────────────────────────────
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ────────────────────────────────
edgeless/shape.spec.ts:131:1 › change shape stroke color ───────────────────────────────────────
1 skipped
60 passed (3.6m)
|
🎭 Playwright Run Summary
4 flaky
edgeless/group.spec.ts:270:5 › group › release from group › release group from group ───────────
edgeless/group.spec.ts:327:5 › group › delete › delete root group ──────────────────────────────
edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group ────────────────────
edgeless/note.spec.ts:127:1 › resize note then auto size and custom size ───────────────────────
60 passed (4.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results-main
Expired
|
42 MB |
|