Skip to content

fix: import emoji-mart dynamically like (#950) #4337

fix: import emoji-mart dynamically like (#950)

fix: import emoji-mart dynamically like (#950) #4337

Triggered via pull request March 5, 2025 15:46
Status Success
Total duration 6m 37s
Artifacts 4

build.yml

on: pull_request
Matrix: playwright
Fit to window
Zoom out
Zoom in

Annotations

1 error, 10 warnings, and 3 notices
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:79:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block: tests/src/utils/editor.ts#L47
1) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:79:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block Error: expect(string).toMatchSnapshot(expected) { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "phearadingraph", "attrs": { "textAlignment": "left", "level": 1 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspaceStartOfBlock-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-54c1c-ace-at-the-start-of-a-block-webkit/backspaceStartOfBlock-json-actual.json at ../utils/editor.ts:47 45 | // Remove id from docs 46 | const doc = JSON.stringify(await getDoc(page), null, 2); > 47 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 48 | } 49 | at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:87:5
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 26.9s
Slow Test: tests/[firefox] › slashmenu/slashmenu.test.ts#L1
tests/[firefox] › slashmenu/slashmenu.test.ts took 18.6s
Slow Test: tests/[firefox] › images/images.test.ts#L1
tests/[firefox] › images/images.test.ts took 17.0s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 22.9s
Slow Test: tests/[chromium] › images/images.test.ts#L1
tests/[chromium] › images/images.test.ts took 16.2s
Slow Test: tests/[chromium] › slashmenu/slashmenu.test.ts#L1
tests/[chromium] › slashmenu/slashmenu.test.ts took 15.6s
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 27.1s
Slow Test: tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 21.5s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 21.4s
Slow Test: tests/[webkit] › theming/theming.test.ts#L1
tests/[webkit] › theming/theming.test.ts took 15.5s
🎭 Playwright Run Summary
10 skipped 79 passed (2.4m)
🎭 Playwright Run Summary
89 passed (2.2m)
🎭 Playwright Run Summary
1 flaky [webkit] › keyboardhandlers/keyboardhandlers.test.ts:79:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block 8 skipped 80 passed (3.1m)

Artifacts

Produced during runtime
Name Size
playwright-report-chromium
253 KB
playwright-report-firefox
246 KB
playwright-report-webkit
2.61 MB
relative-ci-artifacts-editor
48.8 KB