fix: Default themes contrast #6166
Annotations
16 errors and 4 notices
|
Playwright Tests - chromium
Process completed with exit code 1.
|
|
[chromium] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks:
tests/src/end-to-end/textalignment/textAlignment.test.ts#L64
1) [chromium] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
98 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts-snapshots/alignTextMultipleBlocks-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-chromium-retry2/alignTextMultipleBlocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-chromium-retry2/alignTextMultipleBlocks-diff.png
62 | await page.pause();
63 |
> 64 | expect(await page.screenshot()).toMatchSnapshot(
| ^
65 | "alignTextMultipleBlocks.png",
66 | );
67 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts:64:37
|
|
[chromium] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks:
tests/src/end-to-end/textalignment/textAlignment.test.ts#L64
1) [chromium] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
99 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts-snapshots/alignTextMultipleBlocks-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-chromium-retry1/alignTextMultipleBlocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-chromium-retry1/alignTextMultipleBlocks-diff.png
62 | await page.pause();
63 |
> 64 | expect(await page.screenshot()).toMatchSnapshot(
| ^
65 | "alignTextMultipleBlocks.png",
66 | );
67 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts:64:37
|
|
[chromium] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks:
tests/src/end-to-end/textalignment/textAlignment.test.ts#L64
1) [chromium] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks
Error: expect(Buffer).toMatchSnapshot(expected)
101 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts-snapshots/alignTextMultipleBlocks-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-chromium/alignTextMultipleBlocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-chromium/alignTextMultipleBlocks-diff.png
62 | await page.pause();
63 |
> 64 | expect(await page.screenshot()).toMatchSnapshot(
| ^
65 | "alignTextMultipleBlocks.png",
66 | );
67 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts:64:37
|
|
Playwright Tests - firefox
Process completed with exit code 1.
|
|
[firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance:
tests/src/end-to-end/basics/basicblocks.test.ts#L30
1) [firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 1280px by 1539px, received 1280px by 1466px. 27518 pixels (ratio 0.02 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts-snapshots/basicblocks-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox-retry2/basicblocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox-retry2/basicblocks-diff.png
28 |
29 | await page.waitForTimeout(100);
> 30 | expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(
| ^
31 | "basicblocks.png",
32 | );
33 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:30:55
|
|
[firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance:
tests/src/end-to-end/basics/basicblocks.test.ts#L30
1) [firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 1280px by 1539px, received 1280px by 1466px. 27518 pixels (ratio 0.02 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts-snapshots/basicblocks-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox-retry1/basicblocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox-retry1/basicblocks-diff.png
28 |
29 | await page.waitForTimeout(100);
> 30 | expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(
| ^
31 | "basicblocks.png",
32 | );
33 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:30:55
|
|
[firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance:
tests/src/end-to-end/basics/basicblocks.test.ts#L30
1) [firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 1280px by 1539px, received 1280px by 1466px. 27518 pixels (ratio 0.02 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts-snapshots/basicblocks-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox/basicblocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox/basicblocks-diff.png
28 |
29 | await page.waitForTimeout(100);
> 30 | expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(
| ^
31 | "basicblocks.png",
32 | );
33 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:30:55
|
|
Playwright Tests - webkit
Process completed with exit code 1.
|
|
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L41
3) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar
Error: expect(Buffer).toMatchSnapshot(expected)
1007 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/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 /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
|
|
[webkit] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks:
tests/src/end-to-end/textalignment/textAlignment.test.ts#L64
2) [webkit] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
308 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts-snapshots/alignTextMultipleBlocks-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-webkit-retry2/alignTextMultipleBlocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-webkit-retry2/alignTextMultipleBlocks-diff.png
62 | await page.pause();
63 |
> 64 | expect(await page.screenshot()).toMatchSnapshot(
| ^
65 | "alignTextMultipleBlocks.png",
66 | );
67 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts:64:37
|
|
[webkit] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks:
tests/src/end-to-end/textalignment/textAlignment.test.ts#L64
2) [webkit] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
308 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts-snapshots/alignTextMultipleBlocks-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-webkit-retry1/alignTextMultipleBlocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-webkit-retry1/alignTextMultipleBlocks-diff.png
62 | await page.pause();
63 |
> 64 | expect(await page.screenshot()).toMatchSnapshot(
| ^
65 | "alignTextMultipleBlocks.png",
66 | );
67 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts:64:37
|
|
[webkit] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks:
tests/src/end-to-end/textalignment/textAlignment.test.ts#L64
2) [webkit] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks
Error: expect(Buffer).toMatchSnapshot(expected)
308 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts-snapshots/alignTextMultipleBlocks-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-webkit/alignTextMultipleBlocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-26ef5-lignment-on-multiple-blocks-webkit/alignTextMultipleBlocks-diff.png
62 | await page.pause();
63 |
> 64 | expect(await page.screenshot()).toMatchSnapshot(
| ^
65 | "alignTextMultipleBlocks.png",
66 | );
67 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts:64:37
|
|
[webkit] › src/end-to-end/textalignment/textAlignment.test.ts:15:7 › Check Text Alignment Functionality › Should be able to set text alignment on single block:
tests/src/end-to-end/textalignment/textAlignment.test.ts#L37
1) [webkit] › src/end-to-end/textalignment/textAlignment.test.ts:15:7 › Check Text Alignment Functionality › Should be able to set text alignment on single block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
308 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts-snapshots/alignTextSingleBlock-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-54e60-t-alignment-on-single-block-webkit-retry2/alignTextSingleBlock-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-54e60-t-alignment-on-single-block-webkit-retry2/alignTextSingleBlock-diff.png
35 | await page.keyboard.press("ArrowLeft");
36 |
> 37 | expect(await page.screenshot()).toMatchSnapshot("alignTextSingleBlock.png");
| ^
38 | });
39 | test("Should be able to set text alignment on multiple blocks", async ({
40 | page,
at /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts:37:37
|
|
[webkit] › src/end-to-end/textalignment/textAlignment.test.ts:15:7 › Check Text Alignment Functionality › Should be able to set text alignment on single block:
tests/src/end-to-end/textalignment/textAlignment.test.ts#L37
1) [webkit] › src/end-to-end/textalignment/textAlignment.test.ts:15:7 › Check Text Alignment Functionality › Should be able to set text alignment on single block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
308 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts-snapshots/alignTextSingleBlock-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-54e60-t-alignment-on-single-block-webkit-retry1/alignTextSingleBlock-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-54e60-t-alignment-on-single-block-webkit-retry1/alignTextSingleBlock-diff.png
35 | await page.keyboard.press("ArrowLeft");
36 |
> 37 | expect(await page.screenshot()).toMatchSnapshot("alignTextSingleBlock.png");
| ^
38 | });
39 | test("Should be able to set text alignment on multiple blocks", async ({
40 | page,
at /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts:37:37
|
|
[webkit] › src/end-to-end/textalignment/textAlignment.test.ts:15:7 › Check Text Alignment Functionality › Should be able to set text alignment on single block:
tests/src/end-to-end/textalignment/textAlignment.test.ts#L37
1) [webkit] › src/end-to-end/textalignment/textAlignment.test.ts:15:7 › Check Text Alignment Functionality › Should be able to set text alignment on single block
Error: expect(Buffer).toMatchSnapshot(expected)
308 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts-snapshots/alignTextSingleBlock-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-54e60-t-alignment-on-single-block-webkit/alignTextSingleBlock-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/textalignment-textAlignmen-54e60-t-alignment-on-single-block-webkit/alignTextSingleBlock-diff.png
35 | await page.keyboard.press("ArrowLeft");
36 |
> 37 | expect(await page.screenshot()).toMatchSnapshot("alignTextSingleBlock.png");
| ^
38 | });
39 | test("Should be able to set text alignment on multiple blocks", async ({
40 | page,
at /__w/BlockNote/BlockNote/tests/src/end-to-end/textalignment/textAlignment.test.ts:37:37
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "97bfbfefb5e53b963d735f3b4fa3d13b0470b5c1",
"ref": "2129"
},
"key": "Mki8Nyub36",
"runId": 18785263025,
"webhookDebug": {
"action": "requested",
"head_branch": "theme-contrast-fix",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2129,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:theme-contrast-fix",
"oldPrDataHash": "VzapPvVRDn",
"lookupKey": "TypeCellOS/BlockNote:theme-contrast-fix",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "97bfbfefb5e53b963d735f3b4fa3d13b0470b5c1",
"ref": "2129"
}
}
}
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks
1 skipped
93 passed (2.4m)
|
|
🎭 Playwright Run Summary
1 failed
[firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance
11 skipped
83 passed (2.9m)
|
|
🎭 Playwright Run Summary
2 failed
[webkit] › src/end-to-end/textalignment/textAlignment.test.ts:15:7 › Check Text Alignment Functionality › Should be able to set text alignment on single block
[webkit] › src/end-to-end/textalignment/textAlignment.test.ts:39:7 › Check Text Alignment Functionality › Should be able to set text alignment on multiple blocks
1 flaky
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─
9 skipped
83 passed (3.5m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-chromium
Expired
|
1.12 MB |
sha256:c2ee7921ab9e67a713e7c8a51327194913e1a58da8448330b063ba815defaf3e
|
|
|
playwright-report-firefox
Expired
|
5.55 MB |
sha256:5f41a17e614547a33803a79570a412f416d1075b4996135a7afc8fce2735d420
|
|
|
playwright-report-webkit
Expired
|
1.97 MB |
sha256:b63ae501423f2d95a75cf9b4af80a8b2bcd011e0593da8f9fea6afcde1fe3854
|
|
|
relative-ci-artifacts-editor
Expired
|
45.5 KB |
sha256:fec43f7099cfc88c27708a889854dda40e2d986f1e8109161cb97de893f9f320
|
|