Skip to content

feat(edgeless): store real color values in edgeless #9124

feat(edgeless): store real color values in edgeless

feat(edgeless): store real color values in edgeless #9124

Triggered via pull request December 22, 2024 16:08
Status Failure
Total duration 3m 48s
Artifacts 4

test.yml

on: pull_request
Install Dependencies
42s
Install Dependencies
Matrix: E2E Test
Matrix: Unit Test
Build & Test
1s
Build & Test
Fit to window
Zoom out
Zoom in

Annotations

39 errors, 45 warnings, and 20 notices
Build
Process completed with exit code 1.
clipboard/list.spec.ts:215:1 › paste nested lists to a nested list: tests/utils/asserts.ts#L209
1) clipboard/list.spec.ts:215:1 › paste nested lists to a nested list ──────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Array [ "aaa", - "111", + "bbb111", "222", "111", - "222bbb", + "222", "ccc", ] at utils/asserts.ts:209 207 | }); 208 | }, currentEditorIndex); > 209 | expect(actualTexts).toEqual(texts); | ^ 210 | } 211 | 212 | export async function assertEdgelessCanvasText(page: Page, text: string) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23) at /home/runner/work/blocksuite/blocksuite/tests/clipboard/list.spec.ts:257:3
attachment.spec.ts:799:1 › attachment can be dragged from note to surface top level block: tests/attachment.spec.ts#L69
1) attachment.spec.ts:799:1 › attachment can be dragged from note to surface top level block ───── TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser" =========================== logs =========================== waiting for event "filechooser" ============================================================ 67 | await expect(slashMenu).toBeVisible(); 68 | > 69 | const fileChooser = page.waitForEvent('filechooser'); | ^ 70 | await pressEnter(page); 71 | await sleep(100); 72 | await (await fileChooser).setFiles(FILE_PATH); at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:69:30) at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:807:3
edgeless/note/note.spec.ts:299:1 › change note color: tests/utils/asserts.ts#L1086
1) edgeless/note/note.spec.ts:299:1 › change note color ────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "#cdcdcd" Received: "#c9f8c1" at utils/asserts.ts:1086 1084 | }); 1085 | > 1086 | expect(toHex(backgroundColor)).toEqual(color); | ^ 1087 | } 1088 | 1089 | function toHex(color: string) { at assertEdgelessNoteBackground (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1086:34) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:314:3
edgeless/note/note.spec.ts:299:1 › change note color: tests/utils/asserts.ts#L1086
1) edgeless/note/note.spec.ts:299:1 › change note color ────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "#cdcdcd" Received: "#c9f8c1" at utils/asserts.ts:1086 1084 | }); 1085 | > 1086 | expect(toHex(backgroundColor)).toEqual(color); | ^ 1087 | } 1088 | 1089 | function toHex(color: string) { at assertEdgelessNoteBackground (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1086:34) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:314:3
edgeless/note/note.spec.ts:299:1 › change note color: tests/utils/asserts.ts#L1086
1) edgeless/note/note.spec.ts:299:1 › change note color ────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "#cdcdcd" Received: "#c9f8c1" at utils/asserts.ts:1086 1084 | }); 1085 | > 1086 | expect(toHex(backgroundColor)).toEqual(color); | ^ 1087 | } 1088 | 1089 | function toHex(color: string) { at assertEdgelessNoteBackground (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1086:34) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:314:3
edgeless/note/note.spec.ts:299:1 › change note color: tests/utils/asserts.ts#L1086
1) edgeless/note/note.spec.ts:299:1 › change note color ────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "#cdcdcd" Received: "#c9f8c1" at utils/asserts.ts:1086 1084 | }); 1085 | > 1086 | expect(toHex(backgroundColor)).toEqual(color); | ^ 1087 | } 1088 | 1089 | function toHex(color: string) { at assertEdgelessNoteBackground (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1086:34) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:314:3
edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size: tests/utils/asserts.ts#L888
2) edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ─────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 192 Received: 92 Expected precision: 0 Expected difference: < 0.5 Received difference: 100 at utils/asserts.ts:888 886 | expect(a.y).toBeCloseTo(b.y, 0); 887 | expect(a.w).toBeCloseTo(b.w, 0); > 888 | expect(a.h).toBeCloseTo(b.h, 0); | ^ 889 | } 890 | 891 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) { at assertRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:888:15) at assertNoteRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:881:3) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/resize.spec.ts:188:3
E2E Test (10)
Process completed with exit code 1.
edgeless/shape.spec.ts:184:1 › change shape stroke color: tests/utils/asserts.ts#L1120
1) edgeless/shape.spec.ts:184:1 › change shape stroke color ────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:203:3
edgeless/shape.spec.ts:184:1 › change shape stroke color: tests/utils/asserts.ts#L1120
1) edgeless/shape.spec.ts:184:1 › change shape stroke color ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:203:3
edgeless/shape.spec.ts:184:1 › change shape stroke color: tests/utils/asserts.ts#L1120
1) edgeless/shape.spec.ts:184:1 › change shape stroke color ────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:203:3
edgeless/shape.spec.ts:184:1 › change shape stroke color: tests/utils/asserts.ts#L1120
1) edgeless/shape.spec.ts:184:1 › change shape stroke color ────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:203:3
edgeless/shape.spec.ts:542:1 › change shape style: tests/utils/asserts.ts#L1120
2) edgeless/shape.spec.ts:542:1 › change shape style ───────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:563:3
edgeless/shape.spec.ts:542:1 › change shape style: tests/utils/asserts.ts#L1120
2) edgeless/shape.spec.ts:542:1 › change shape style ───────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:563:3
edgeless/shape.spec.ts:542:1 › change shape style: tests/utils/asserts.ts#L1120
2) edgeless/shape.spec.ts:542:1 › change shape style ───────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:563:3
edgeless/shape.spec.ts:542:1 › change shape style: tests/utils/asserts.ts#L1120
2) edgeless/shape.spec.ts:542:1 › change shape style ───────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:563:3
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing: tests/utils/actions/edgeless.ts#L369
3) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ───────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('edgeless-slide-menu edgeless-tool-icon-button').filter({ hasText: 'Square' }) - locator resolved to <edgeless-tool-icon-button role="button">…</edgeless-tool-icon-button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is not stable - retrying click action - waiting 20ms - waiting for element to be visible, enabled and stable - element is not stable - retrying click action - waiting 100ms - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying at utils/actions/edgeless.ts:369 367 | .locator('edgeless-slide-menu edgeless-tool-icon-button') 368 | .filter({ hasText: shape }); > 369 | await squareShapeButton.click(); | ^ 370 | break; 371 | } 372 | } at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:369:31) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:137:3
E2E Test (12)
Process completed with exit code 1.
edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block: tests/edgeless/edgeless-text.spec.ts#L379
1) edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block ── Error: expect(string).toMatchSnapshot(expected) { "type": "block", "id": "0", "flavour": "affine:page", "version": 2, "props": { "title": { "$blocksuite:internal:text$": true, "delta": [] } }, "children": [ { "type": "block", "id": "1", "flavour": "affine:surface", "version": 5, "props": { "elements": {} }, "children": [ { "type": "block", "id": "4", "flavour": "affine:edgeless-text", "version": 1, "props": { "xywh": "[-25,-25,50,26]", "index": "a1", "lockedBySelf": false, "color": "--a#84cffine-v2-edgeless-palette-medium-blueMediumf", "fontFamily": "blocksuite:surface:Inter", "fontStyle": "normal", "fontWeight": "400", "textAlign": "left", "scale": 1, "rotate": 0, "hasMaxWidth": false }, "children": [ { "type": "block", "id": "5", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [] }, "collapsed": false }, "children": [] } ] } ] }, { "type": "block", "id": "2", "flavour": "affine:note", "version": 1, "props": { "xywh": "[0,0,498,92]", "background": { "--daffrk": "#000000", "line-v2-edgeless-note-white": "#ffffff" }, "index": "a0", "lockedBySelf": false, "hidden": false, "displayMode": "both", "edgeless": { "style": { "borderRadius": 8, "borderSize": 4, "borderStyle": "none", "shadowType": "--affine-note-shadow-box" } } }, "children": [ { "type": "block", "id": "3", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [] }, "collapsed": false }, "children": [] } ] } ] } Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/edgeless/edgeless-text.spec.ts/min-width-limit-for-embed-block-init.json Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/edgeless-edgeless-text-edg-a6ff1-width-limit-for-embed-block/min-width-limit-for-embed-block-init-actual.json 377 | await waitNextFrame(page); 378 | > 379 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( | ^ 380 | `${testInfo.title}_init.json` 381 | ); 382 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:379:47
edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block: tests/edgeless/edgeless-text.spec.ts#L379
1) edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) { "type": "block", "id": "0", "flavour": "affine:page", "version": 2, "props": { "title": { "$blocksuite:internal:text$": true, "delta": [] } }, "children": [ { "type": "block", "id": "1", "flavour": "affine:surface", "version": 5, "props": { "elements": {} }, "children": [ { "type": "block", "id": "4", "flavour": "affine:edgeless-text", "version": 1, "props": { "xywh": "[-25,-25,50,26]", "index": "a1", "lockedBySelf": false, "color": "--a#84cffine-v2-edgeless-palette-medium-blueMediumf", "fontFamily": "blocksuite:surface:Inter", "fontStyle": "normal", "fontWeight": "400", "textAlign": "left", "scale": 1, "rotate": 0, "hasMaxWidth": false }, "children": [ { "type": "block", "id": "5", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [] }, "collapsed": false }, "children": [] } ] } ] }, { "type": "block", "id": "2", "flavour": "affine:note", "version": 1, "props": { "xywh": "[0,0,498,92]", "background": { "--daffrk": "#000000", "line-v2-edgeless-note-white": "#ffffff" }, "index": "a0", "lockedBySelf": false, "hidden": false, "displayMode": "both", "edgeless": { "style": { "borderRadius": 8, "borderSize": 4, "borderStyle": "none", "shadowType": "--affine-note-shadow-box" } } }, "children": [ { "type": "block", "id": "3", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [] }, "collapsed": false }, "children": [] } ] } ] } Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/edgeless/edgeless-text.spec.ts/min-width-limit-for-embed-block-init.json Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/edgeless-edgeless-text-edg-a6ff1-width-limit-for-embed-block-retry1/min-width-limit-for-embed-block-init-actual.json 377 | await waitNextFrame(page); 378 | > 379 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( | ^ 380 | `${testInfo.title}_init.json` 381 | ); 382 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:379:47
edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block: tests/edgeless/edgeless-text.spec.ts#L379
1) edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block ── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) { "type": "block", "id": "0", "flavour": "affine:page", "version": 2, "props": { "title": { "$blocksuite:internal:text$": true, "delta": [] } }, "children": [ { "type": "block", "id": "1", "flavour": "affine:surface", "version": 5, "props": { "elements": {} }, "children": [ { "type": "block", "id": "4", "flavour": "affine:edgeless-text", "version": 1, "props": { "xywh": "[-25,-25,50,26]", "index": "a1", "lockedBySelf": false, "color": "--a#84cffine-v2-edgeless-palette-medium-blueMediumf", "fontFamily": "blocksuite:surface:Inter", "fontStyle": "normal", "fontWeight": "400", "textAlign": "left", "scale": 1, "rotate": 0, "hasMaxWidth": false }, "children": [ { "type": "block", "id": "5", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [] }, "collapsed": false }, "children": [] } ] } ] }, { "type": "block", "id": "2", "flavour": "affine:note", "version": 1, "props": { "xywh": "[0,0,498,92]", "background": { "--daffrk": "#000000", "line-v2-edgeless-note-white": "#ffffff" }, "index": "a0", "lockedBySelf": false, "hidden": false, "displayMode": "both", "edgeless": { "style": { "borderRadius": 8, "borderSize": 4, "borderStyle": "none", "shadowType": "--affine-note-shadow-box" } } }, "children": [ { "type": "block", "id": "3", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [] }, "collapsed": false }, "children": [] } ] } ] } Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/edgeless/edgeless-text.spec.ts/min-width-limit-for-embed-block-init.json Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/edgeless-edgeless-text-edg-a6ff1-width-limit-for-embed-block-retry2/min-width-limit-for-embed-block-init-actual.json 377 | await waitNextFrame(page); 378 | > 379 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( | ^ 380 | `${testInfo.title}_init.json` 381 | ); 382 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:379:47
edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block: tests/edgeless/edgeless-text.spec.ts#L379
1) edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block ── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) { "type": "block", "id": "0", "flavour": "affine:page", "version": 2, "props": { "title": { "$blocksuite:internal:text$": true, "delta": [] } }, "children": [ { "type": "block", "id": "1", "flavour": "affine:surface", "version": 5, "props": { "elements": {} }, "children": [ { "type": "block", "id": "4", "flavour": "affine:edgeless-text", "version": 1, "props": { "xywh": "[-25,-25,50,26]", "index": "a1", "lockedBySelf": false, "color": "--a#84cffine-v2-edgeless-palette-medium-blueMediumf", "fontFamily": "blocksuite:surface:Inter", "fontStyle": "normal", "fontWeight": "400", "textAlign": "left", "scale": 1, "rotate": 0, "hasMaxWidth": false }, "children": [ { "type": "block", "id": "5", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [] }, "collapsed": false }, "children": [] } ] } ] }, { "type": "block", "id": "2", "flavour": "affine:note", "version": 1, "props": { "xywh": "[0,0,498,92]", "background": { "--daffrk": "#000000", "line-v2-edgeless-note-white": "#ffffff" }, "index": "a0", "lockedBySelf": false, "hidden": false, "displayMode": "both", "edgeless": { "style": { "borderRadius": 8, "borderSize": 4, "borderStyle": "none", "shadowType": "--affine-note-shadow-box" } } }, "children": [ { "type": "block", "id": "3", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [] }, "collapsed": false }, "children": [] } ] } ] } Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/edgeless/edgeless-text.spec.ts/min-width-limit-for-embed-block-init.json Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/edgeless-edgeless-text-edg-a6ff1-width-limit-for-embed-block-retry3/min-width-limit-for-embed-block-init-actual.json 377 | await waitNextFrame(page); 378 | > 379 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( | ^ 380 | `${testInfo.title}_init.json` 381 | ); 382 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:379:47
edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist: tests/edgeless/edgeless-text.spec.ts#L580
2) edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist Error: expect(string).toMatchSnapshot(expected) { "type": "block", "id": "0", "flavour": "affine:page", "version": 2, "props": { "title": { "$blocksuite:internal:text$": true, "delta": [] } }, "children": [ { "type": "block", "id": "1", "flavour": "affine:surface", "version": 5, "props": { "elements": {} }, "children": [ { "type": "block", "id": "3", "flavour": "affine:edgeless-text", "version": 1, "props": { "xywh": "[-25,-25,50,26]", "index": "a1", "lockedBySelf": false, "color": "--a#84cffine-v2-edgeless-palette-medium-blueMediumf", "fontFamily": "blocksuite:surface:Inter", "fontStyle": "normal", "fontWeight": "400", "textAlign": "left", "scale": 1, "rotate": 0, "hasMaxWidth": true }, "children": [ { "type": "block", "id": "4", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [ { "insert": "aaa" } ] }, "collapsed": false }, "children": [] } ] } ] }, { "type": "block", "id": "2", "flavour": "affine:note", "version": 1, "props": { "xywh": "[0,0,498,48]", "background": { "--daffrk": "#000000", "line-v2-edgeless-note-white": "#ffffff" }, "index": "a0", "lockedBySelf": false, "hidden": false, "displayMode": "both", "edgeless": { "style": { "borderRadius": 8, "borderSize": 4, "borderStyle": "none", "shadowType": "--affine-note-shadow-box" } } }, "children": [] } ] } Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/edgeless/edgeless-text.spec.ts/press-backspace-at-the-start-of-first-line-when-edgeless-text-exist-note-empty.json Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/edgeless-edgeless-text-pre-86361-ne-when-edgeless-text-exist/press-backspace-at-the-sta-93c64--text-exist-note-empty-actual.json 578 | await switchEditorMode(page); 579 | > 580 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( | ^ 581 | `${testInfo.title}_note_empty.json` 582 | ); 583 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:580:45
edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist: tests/edgeless/edgeless-text.spec.ts#L580
2) edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) { "type": "block", "id": "0", "flavour": "affine:page", "version": 2, "props": { "title": { "$blocksuite:internal:text$": true, "delta": [] } }, "children": [ { "type": "block", "id": "1", "flavour": "affine:surface", "version": 5, "props": { "elements": {} }, "children": [ { "type": "block", "id": "3", "flavour": "affine:edgeless-text", "version": 1, "props": { "xywh": "[-25,-25,50,26]", "index": "a1", "lockedBySelf": false, "color": "--a#84cffine-v2-edgeless-palette-medium-blueMediumf", "fontFamily": "blocksuite:surface:Inter", "fontStyle": "normal", "fontWeight": "400", "textAlign": "left", "scale": 1, "rotate": 0, "hasMaxWidth": true }, "children": [ { "type": "block", "id": "4", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [ { "insert": "aaa" } ] }, "collapsed": false }, "children": [] } ] } ] }, { "type": "block", "id": "2", "flavour": "affine:note", "version": 1, "props": { "xywh": "[0,0,498,48]", "background": { "--daffrk": "#000000", "line-v2-edgeless-note-white": "#ffffff" }, "index": "a0", "lockedBySelf": false, "hidden": false, "displayMode": "both", "edgeless": { "style": { "borderRadius": 8, "borderSize": 4, "borderStyle": "none", "shadowType": "--affine-note-shadow-box" } } }, "children": [] } ] } Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/edgeless/edgeless-text.spec.ts/press-backspace-at-the-start-of-first-line-when-edgeless-text-exist-note-empty.json Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/edgeless-edgeless-text-pre-86361-ne-when-edgeless-text-exist-retry1/press-backspace-at-the-sta-93c64--text-exist-note-empty-actual.json 578 | await switchEditorMode(page); 579 | > 580 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( | ^ 581 | `${testInfo.title}_note_empty.json` 582 | ); 583 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:580:45
edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist: tests/edgeless/edgeless-text.spec.ts#L580
2) edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) { "type": "block", "id": "0", "flavour": "affine:page", "version": 2, "props": { "title": { "$blocksuite:internal:text$": true, "delta": [] } }, "children": [ { "type": "block", "id": "1", "flavour": "affine:surface", "version": 5, "props": { "elements": {} }, "children": [ { "type": "block", "id": "3", "flavour": "affine:edgeless-text", "version": 1, "props": { "xywh": "[-25,-25,50,26]", "index": "a1", "lockedBySelf": false, "color": "--a#84cffine-v2-edgeless-palette-medium-blueMediumf", "fontFamily": "blocksuite:surface:Inter", "fontStyle": "normal", "fontWeight": "400", "textAlign": "left", "scale": 1, "rotate": 0, "hasMaxWidth": true }, "children": [ { "type": "block", "id": "4", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [ { "insert": "aaa" } ] }, "collapsed": false }, "children": [] } ] } ] }, { "type": "block", "id": "2", "flavour": "affine:note", "version": 1, "props": { "xywh": "[0,0,498,48]", "background": { "--daffrk": "#000000", "line-v2-edgeless-note-white": "#ffffff" }, "index": "a0", "lockedBySelf": false, "hidden": false, "displayMode": "both", "edgeless": { "style": { "borderRadius": 8, "borderSize": 4, "borderStyle": "none", "shadowType": "--affine-note-shadow-box" } } }, "children": [] } ] } Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/edgeless/edgeless-text.spec.ts/press-backspace-at-the-start-of-first-line-when-edgeless-text-exist-note-empty.json Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/edgeless-edgeless-text-pre-86361-ne-when-edgeless-text-exist-retry2/press-backspace-at-the-sta-93c64--text-exist-note-empty-actual.json 578 | await switchEditorMode(page); 579 | > 580 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( | ^ 581 | `${testInfo.title}_note_empty.json` 582 | ); 583 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:580:45
edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist: tests/edgeless/edgeless-text.spec.ts#L580
2) edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) { "type": "block", "id": "0", "flavour": "affine:page", "version": 2, "props": { "title": { "$blocksuite:internal:text$": true, "delta": [] } }, "children": [ { "type": "block", "id": "1", "flavour": "affine:surface", "version": 5, "props": { "elements": {} }, "children": [ { "type": "block", "id": "3", "flavour": "affine:edgeless-text", "version": 1, "props": { "xywh": "[-25,-25,50,26]", "index": "a1", "lockedBySelf": false, "color": "--a#84cffine-v2-edgeless-palette-medium-blueMediumf", "fontFamily": "blocksuite:surface:Inter", "fontStyle": "normal", "fontWeight": "400", "textAlign": "left", "scale": 1, "rotate": 0, "hasMaxWidth": true }, "children": [ { "type": "block", "id": "4", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [ { "insert": "aaa" } ] }, "collapsed": false }, "children": [] } ] } ] }, { "type": "block", "id": "2", "flavour": "affine:note", "version": 1, "props": { "xywh": "[0,0,498,48]", "background": { "--daffrk": "#000000", "line-v2-edgeless-note-white": "#ffffff" }, "index": "a0", "lockedBySelf": false, "hidden": false, "displayMode": "both", "edgeless": { "style": { "borderRadius": 8, "borderSize": 4, "borderStyle": "none", "shadowType": "--affine-note-shadow-box" } } }, "children": [] } ] } Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/edgeless/edgeless-text.spec.ts/press-backspace-at-the-start-of-first-line-when-edgeless-text-exist-note-empty.json Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/edgeless-edgeless-text-pre-86361-ne-when-edgeless-text-exist-retry3/press-backspace-at-the-sta-93c64--text-exist-note-empty-actual.json 578 | await switchEditorMode(page); 579 | > 580 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( | ^ 581 | `${testInfo.title}_note_empty.json` 582 | ); 583 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:580:45
E2E Test (7)
Process completed with exit code 1.
edgeless/brush.spec.ts:77:1 › add brush element with color: tests/utils/asserts.ts#L1120
1) edgeless/brush.spec.ts:77:1 › add brush element with color ──────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:91:3
edgeless/brush.spec.ts:77:1 › add brush element with color: tests/utils/asserts.ts#L1120
1) edgeless/brush.spec.ts:77:1 › add brush element with color ──────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:91:3
edgeless/brush.spec.ts:77:1 › add brush element with color: tests/utils/asserts.ts#L1120
1) edgeless/brush.spec.ts:77:1 › add brush element with color ──────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:91:3
edgeless/brush.spec.ts:77:1 › add brush element with color: tests/utils/asserts.ts#L1120
1) edgeless/brush.spec.ts:77:1 › add brush element with color ──────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:91:3
edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush: tests/utils/asserts.ts#L1120
2) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:118:3
edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush: tests/utils/asserts.ts#L1120
2) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:118:3
edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush: tests/utils/asserts.ts#L1120
2) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:118:3
edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush: tests/utils/asserts.ts#L1120
2) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:118:3
edgeless/brush.spec.ts:121:1 › add brush element with different size: tests/utils/asserts.ts#L1120
3) edgeless/brush.spec.ts:121:1 › add brush element with different size ────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:147:3
edgeless/brush.spec.ts:121:1 › add brush element with different size: tests/utils/asserts.ts#L1120
3) edgeless/brush.spec.ts:121:1 › add brush element with different size ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: "" at utils/asserts.ts:1120 1118 | ) { 1119 | const themeColor = await getCurrentThemeCSSPropertyValue(page, edgelessColor); > 1120 | expect(themeColor).toBeTruthy(); | ^ 1121 | const edgelessHexColor = toHex(themeColor); 1122 | 1123 | assertSameColor(hexColor, edgelessHexColor as `#${string}`); at assertEdgelessColorSameWithHexColor (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1120:22) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:147:3
Build & Test
Process completed with exit code 1.
Install Dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (2)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (20)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (16)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (16)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (3)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (17)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Unit Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (1)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (19)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (19)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Unit Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (18)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (4)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (13)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (13)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (15)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (15)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (14)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (14)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Unit Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (5)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Unit Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (11)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (9)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (8)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (6)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build & Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 flaky clipboard/list.spec.ts:215:1 › paste nested lists to a nested list ───────────────────────────── 1 skipped 47 passed (43.4s)
🎭 Playwright Run Summary
3 skipped 46 passed (42.0s)
🎭 Playwright Run Summary
2 skipped 47 passed (49.5s)
🎭 Playwright Run Summary
4 skipped 45 passed (50.2s)
🎭 Playwright Run Summary
49 passed (44.9s)
🎭 Playwright Run Summary
1 flaky attachment.spec.ts:799:1 › attachment can be dragged from note to surface top level block ────── 2 skipped 46 passed (53.0s)
🎭 Playwright Run Summary
49 passed (51.3s)
🎭 Playwright Run Summary
49 passed (54.8s)
🎭 Playwright Run Summary
49 passed (54.2s)
🎭 Playwright Run Summary
1 skipped 48 passed (55.0s)
🎭 Playwright Run Summary
1 skipped 48 passed (50.9s)
🎭 Playwright Run Summary
49 passed (1.1m)
🎭 Playwright Run Summary
1 failed edgeless/note/note.spec.ts:299:1 › change note color ─────────────────────────────────────────── 1 flaky edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ──────────────── 2 skipped 45 passed (1.1m)
🎭 Playwright Run Summary
6 skipped 43 passed (1.3m)
🎭 Playwright Run Summary
1 skipped 48 passed (1.5m)
🎭 Playwright Run Summary
10 skipped 39 passed (1.4m)
🎭 Playwright Run Summary
2 failed edgeless/shape.spec.ts:184:1 › change shape stroke color ─────────────────────────────────────── edgeless/shape.spec.ts:542:1 › change shape style ────────────────────────────────────────────── 1 flaky edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ────────────────────────── 3 skipped 43 passed (1.5m)
🎭 Playwright Run Summary
49 passed (1.5m)
🎭 Playwright Run Summary
2 failed edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block ─── edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist 1 skipped 46 passed (1.7m)
🎭 Playwright Run Summary
3 failed edgeless/brush.spec.ts:77:1 › add brush element with color ───────────────────────────────────── edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ─────────── edgeless/brush.spec.ts:121:1 › add brush element with different size ─────────────────────────── 46 passed (1.8m)

Artifacts

Produced during runtime
Name Size
test-results-e2e-10
8.53 MB
test-results-e2e-12
17.1 MB
test-results-e2e-6
15.1 MB
test-results-e2e-7
6.31 MB