Skip to content

fix: Typing after link doesn't revert to regular text #3492

fix: Typing after link doesn't revert to regular text

fix: Typing after link doesn't revert to regular text #3492

Triggered via pull request November 7, 2024 17:22
Status Failure
Total duration 14m 37s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 5 warnings, and 1 notice
[chromium] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
1) [chromium] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ───────────── Error: Screenshot comparison failed: 84 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-chromium-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-chromium/ariakit-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-chromium/ariakit-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
[chromium] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
1) [chromium] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 84 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-chromium-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-chromium-retry1/ariakit-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-chromium-retry1/ariakit-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
[chromium] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
1) [chromium] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ───────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 84 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-chromium-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-chromium-retry2/ariakit-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-chromium-retry2/ariakit-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
[chromium] › shadcn/shadcn.test.ts:28:7 › Check ShadCN UI › Check link toolbar: tests/src/end-to-end/shadcn/shadcn.test.ts#L41
2) [chromium] › shadcn/shadcn.test.ts:28:7 › Check ShadCN UI › Check link toolbar ──────────────── Error: Screenshot comparison failed: 178 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/shadcn/shadcn.test.ts-snapshots/shadcn-link-toolbar-chromium-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/shadcn-shadcn-Check-ShadCN-UI-Check-link-toolbar-chromium/shadcn-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/shadcn-shadcn-Check-ShadCN-UI-Check-link-toolbar-chromium/shadcn-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("shadcn-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/shadcn/shadcn.test.ts:41:37
[chromium] › shadcn/shadcn.test.ts:28:7 › Check ShadCN UI › Check link toolbar: tests/src/end-to-end/shadcn/shadcn.test.ts#L41
2) [chromium] › shadcn/shadcn.test.ts:28:7 › Check ShadCN UI › Check link toolbar ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 178 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/shadcn/shadcn.test.ts-snapshots/shadcn-link-toolbar-chromium-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/shadcn-shadcn-Check-ShadCN-UI-Check-link-toolbar-chromium-retry1/shadcn-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/shadcn-shadcn-Check-ShadCN-UI-Check-link-toolbar-chromium-retry1/shadcn-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("shadcn-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/shadcn/shadcn.test.ts:41:37
[chromium] › shadcn/shadcn.test.ts:28:7 › Check ShadCN UI › Check link toolbar: tests/src/end-to-end/shadcn/shadcn.test.ts#L41
2) [chromium] › shadcn/shadcn.test.ts:28:7 › Check ShadCN UI › Check link toolbar ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 178 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/shadcn/shadcn.test.ts-snapshots/shadcn-link-toolbar-chromium-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/shadcn-shadcn-Check-ShadCN-UI-Check-link-toolbar-chromium-retry2/shadcn-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/shadcn-shadcn-Check-ShadCN-UI-Check-link-toolbar-chromium-retry2/shadcn-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("shadcn-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/shadcn/shadcn.test.ts:41:37
[chromium] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar: tests/src/end-to-end/theming/theming.test.ts#L51
3) [chromium] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar Error: Screenshot comparison failed: 88 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-link-toolbar-chromium-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-chromium/dark-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-chromium/dark-link-toolbar-diff.png 49 | 50 | await page.waitForTimeout(500); > 51 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png"); | ^ 52 | }); 53 | test("Should show dark slash menu", async ({ page }) => { 54 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:51:37
[chromium] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar: tests/src/end-to-end/theming/theming.test.ts#L51
3) [chromium] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 88 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-link-toolbar-chromium-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-chromium-retry1/dark-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-chromium-retry1/dark-link-toolbar-diff.png 49 | 50 | await page.waitForTimeout(500); > 51 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png"); | ^ 52 | }); 53 | test("Should show dark slash menu", async ({ page }) => { 54 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:51:37
[chromium] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar: tests/src/end-to-end/theming/theming.test.ts#L51
3) [chromium] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 88 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-link-toolbar-chromium-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-chromium-retry2/dark-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-chromium-retry2/dark-link-toolbar-diff.png 49 | 50 | await page.waitForTimeout(500); > 51 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png"); | ^ 52 | }); 53 | test("Should show dark slash menu", async ({ page }) => { 54 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:51:37
[firefox] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
4) [firefox] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ────────────── Error: Screenshot comparison failed: 312 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-firefox-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-firefox/ariakit-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-firefox/ariakit-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 27.7s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 27.2s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 24.2s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 20.9s
Slow Test: tests/[firefox] › images/images.test.ts#L1
tests/[firefox] › images/images.test.ts took 19.9s
🎭 Playwright Run Summary
9 failed [chromium] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ────────────── [chromium] › shadcn/shadcn.test.ts:28:7 › Check ShadCN UI › Check link toolbar ───────────────── [chromium] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar [firefox] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─────────────── [firefox] › shadcn/shadcn.test.ts:28:7 › Check ShadCN UI › Check link toolbar ────────────────── [firefox] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar [webkit] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ──────────────── [webkit] › shadcn/shadcn.test.ts:28:7 › Check ShadCN UI › Check link toolbar ─────────────────── [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar 1 flaky [webkit] › images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image 18 skipped 221 passed (9.1m)

Artifacts

Produced during runtime
Name Size
playwright-report
2.96 MB