feat: add i18n support for Brazilian Portuguese (pt-BR) #2440
Annotations
8 errors, 9 warnings, and 1 notice
[firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu:
tests/src/end-to-end/draghandle/draghandle.test.ts#L1
1) [firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu
Test timeout of 30000ms exceeded.
|
[firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu:
tests/src/utils/mouse.ts#L27
1) [firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu
Error: locator.boundingBox: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-content-type=heading][data-level="1"]').first()
at ../utils/mouse.ts:27
25 |
26 | export async function moveMouseOverElement(page: Page, element: Locator) {
> 27 | const boundingBox = (await element.boundingBox())!;
| ^
28 | const coords = { x: boundingBox.x + 1, y: boundingBox.y + 1 };
29 | await page.mouse.move(coords.x, coords.y, { steps: 5 });
30 | }
at moveMouseOverElement (/home/runner/work/BlockNote/BlockNote/tests/src/utils/mouse.ts:27:38)
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:79:31
|
[firefox] › draghandle/draghandle.test.ts:88:7 › Check Draghandle functionality › Clicking add button should create new block:
tests/src/end-to-end/draghandle/draghandle.test.ts#L1
2) [firefox] › draghandle/draghandle.test.ts:88:7 › Check Draghandle functionality › Clicking add button should create new block
Test timeout of 30000ms exceeded.
|
[firefox] › draghandle/draghandle.test.ts:88:7 › Check Draghandle functionality › Clicking add button should create new block:
tests/src/utils/mouse.ts#L27
2) [firefox] › draghandle/draghandle.test.ts:88:7 › Check Draghandle functionality › Clicking add button should create new block
Error: locator.boundingBox: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-content-type=heading][data-level="1"]')
at ../utils/mouse.ts:27
25 |
26 | export async function moveMouseOverElement(page: Page, element: Locator) {
> 27 | const boundingBox = (await element.boundingBox())!;
| ^
28 | const coords = { x: boundingBox.x + 1, y: boundingBox.y + 1 };
29 | await page.mouse.move(coords.x, coords.y, { steps: 5 });
30 | }
at moveMouseOverElement (/home/runner/work/BlockNote/BlockNote/tests/src/utils/mouse.ts:27:38)
at hoverAndAddBlockFromDragHandle (/home/runner/work/BlockNote/BlockNote/tests/src/utils/draghandle.ts:19:29)
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:91:5
|
[firefox] › slashmenu/slashmenu.test.ts:30:7 › Check SlashMenu Functionality › Should be able to create h1:
tests/src/utils/editor.ts#L11
3) [firefox] › slashmenu/slashmenu.test.ts:30:7 › Check SlashMenu Functionality › Should be able to create h1
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('.bn-editor').locator('[data-content-type=heading][data-level="1"]')
at ../utils/editor.ts:11
9 | export async function waitForSelectorInEditor(page: Page, selector: string) {
10 | const editor = page.locator(EDITOR_SELECTOR);
> 11 | await editor.locator(selector).waitFor({
| ^
12 | state: "attached",
13 | timeout: 1000,
14 | });
at waitForSelectorInEditor (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:11:34)
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts:34:34
|
[firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children:
tests/src/end-to-end/slashmenu/slashmenu.test.ts#L1
4) [firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children
Test timeout of 30000ms exceeded.
|
[firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children:
tests/src/end-to-end/slashmenu/slashmenu.test.ts#L99
4) [firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children
Error: page.waitForSelector: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('[data-content-type=heading][data-level="1"]') to be visible
97 | await page.keyboard.press("ArrowUp", { delay: TYPE_DELAY });
98 | await executeSlashCommand(page, "h1");
> 99 | await page.waitForSelector(H_ONE_BLOCK_SELECTOR);
| ^
100 | // If done correctly there should be a total on 2 block groups
101 | // a total of 4 blocks and the 3rd block should have no blockgroup
102 | // and BLOCK_A should have one child
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts:99:16
|
[webkit] › colors/colors.test.ts:42:7 › Check Background & Text Color Functionality › Should be able to apply a background color mark:
tests/src/end-to-end/colors/colors.test.ts#L62
5) [webkit] › colors/colors.test.ts:42:7 › Check Background & Text Color Functionality › Should be able to apply a background color mark
Error: Screenshot comparison failed:
11989 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/backgroundColorMark-webkit-linux.png
Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-56edd-ply-a-background-color-mark-webkit/backgroundColorMark-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-56edd-ply-a-background-color-mark-webkit/backgroundColorMark-diff.png
60 | await page.waitForTimeout(500);
61 |
> 62 | expect(await page.screenshot()).toMatchSnapshot("backgroundColorMark.png");
| ^
63 | });
64 | test("Should be able to set block text color", async ({ page }) => {
65 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:62:37
|
Build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Slow Test:
tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 25.8s
|
Slow Test:
tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 22.7s
|
Slow Test:
tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 19.1s
|
Slow Test:
tests/[firefox] › images/images.test.ts#L1
tests/[firefox] › images/images.test.ts took 18.1s
|
Slow Test:
tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 17.8s
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "relative-ci-artifacts-editor".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
🎭 Playwright Run Summary
5 flaky
[firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu
[firefox] › draghandle/draghandle.test.ts:88:7 › Check Draghandle functionality › Clicking add button should create new block
[firefox] › slashmenu/slashmenu.test.ts:30:7 › Check SlashMenu Functionality › Should be able to create h1
[firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children
[webkit] › colors/colors.test.ts:42:7 › Check Background & Text Color Functionality › Should be able to apply a background color mark
18 skipped
199 passed (8.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
1.79 MB |
|
relative-ci-artifacts-editor
Expired
|
116 KB |
|