feat: Add Drag Handle Menu item closeMenuOnClick
prop
#1264
Annotations
10 errors, 5 warnings, and 1 notice
[chromium] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color:
tests/end-to-end/colors/colors.test.ts#L86
1) [chromium] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color
Error: Screenshot comparison failed:
4173 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-chromium-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-chromium/blockTextColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-chromium/blockTextColor-diff.png
84 | await page.waitForTimeout(500);
85 |
> 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png");
| ^
87 | });
88 | test("Should be able to set block background color", async ({ page }) => {
89 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:86:37
|
[chromium] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color:
tests/end-to-end/colors/colors.test.ts#L86
1) [chromium] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
4173 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-chromium-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-chromium-retry1/blockTextColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-chromium-retry1/blockTextColor-diff.png
84 | await page.waitForTimeout(500);
85 |
> 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png");
| ^
87 | });
88 | test("Should be able to set block background color", async ({ page }) => {
89 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:86:37
|
[chromium] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color:
tests/end-to-end/colors/colors.test.ts#L86
1) [chromium] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
4173 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-chromium-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-chromium-retry2/blockTextColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-chromium-retry2/blockTextColor-diff.png
84 | await page.waitForTimeout(500);
85 |
> 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png");
| ^
87 | });
88 | test("Should be able to set block background color", async ({ page }) => {
89 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:86:37
|
[chromium] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color:
tests/end-to-end/colors/colors.test.ts#L110
2) [chromium] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color
Error: Screenshot comparison failed:
4146 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-chromium-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-background-color-chromium/blockBackgroundColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-background-color-chromium/blockBackgroundColor-diff.png
108 | await page.waitForTimeout(500);
109 |
> 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png");
| ^
111 | });
112 | });
113 |
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:110:37
|
[chromium] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color:
tests/end-to-end/colors/colors.test.ts#L110
2) [chromium] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
4146 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-chromium-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-background-color-chromium-retry1/blockBackgroundColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-background-color-chromium-retry1/blockBackgroundColor-diff.png
108 | await page.waitForTimeout(500);
109 |
> 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png");
| ^
111 | });
112 | });
113 |
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:110:37
|
[chromium] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color:
tests/end-to-end/colors/colors.test.ts#L110
2) [chromium] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
4146 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-chromium-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-background-color-chromium-retry2/blockBackgroundColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-background-color-chromium-retry2/blockBackgroundColor-diff.png
108 | await page.waitForTimeout(500);
109 |
> 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png");
| ^
111 | });
112 | });
113 |
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:110:37
|
[firefox] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color:
tests/end-to-end/colors/colors.test.ts#L86
3) [firefox] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color
Error: Screenshot comparison failed:
4459 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-firefox-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-firefox/blockTextColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-firefox/blockTextColor-diff.png
84 | await page.waitForTimeout(500);
85 |
> 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png");
| ^
87 | });
88 | test("Should be able to set block background color", async ({ page }) => {
89 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:86:37
|
[firefox] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color:
tests/end-to-end/colors/colors.test.ts#L86
3) [firefox] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
4459 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-firefox-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-firefox-retry1/blockTextColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-firefox-retry1/blockTextColor-diff.png
84 | await page.waitForTimeout(500);
85 |
> 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png");
| ^
87 | });
88 | test("Should be able to set block background color", async ({ page }) => {
89 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:86:37
|
[firefox] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color:
tests/end-to-end/colors/colors.test.ts#L86
3) [firefox] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
4459 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-firefox-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-firefox-retry2/blockTextColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-text-color-firefox-retry2/blockTextColor-diff.png
84 | await page.waitForTimeout(500);
85 |
> 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png");
| ^
87 | });
88 | test("Should be able to set block background color", async ({ page }) => {
89 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:86:37
|
[firefox] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color:
tests/end-to-end/colors/colors.test.ts#L110
4) [firefox] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color
Error: Screenshot comparison failed:
4485 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-firefox-linux.png
Received: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-background-color-firefox/blockBackgroundColor-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-set-block-background-color-firefox/blockBackgroundColor-diff.png
108 | await page.waitForTimeout(500);
109 |
> 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png");
| ^
111 | });
112 | });
113 |
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:110:37
|
Slow Test:
[webkit] › colors/colors.test.ts#L1
[webkit] › colors/colors.test.ts took 49.9s
|
Slow Test:
[firefox] › colors/colors.test.ts#L1
[firefox] › colors/colors.test.ts took 27.6s
|
Slow Test:
[webkit] › draghandle/draghandle.test.ts#L1
[webkit] › draghandle/draghandle.test.ts took 27.3s
|
Slow Test:
[chromium] › colors/colors.test.ts#L1
[chromium] › colors/colors.test.ts took 23.7s
|
Slow Test:
[webkit] › images/images.test.ts#L1
[webkit] › images/images.test.ts took 22.6s
|
🎭 Playwright Run Summary
7 failed
[chromium] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color
[chromium] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color
[firefox] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color
[firefox] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color
[webkit] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color
[webkit] › colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:18:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty
3 flaky
[chromium] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
[chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks
[webkit] › colors/colors.test.ts:20:7 › Check Background & Text Color Functionality › Should be able to apply a text color mark
21 skipped
155 passed (8.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
12.1 MB |
|