Skip to content

fix: File HTML export and resizing UX #3682

fix: File HTML export and resizing UX

fix: File HTML export and resizing UX #3682

Triggered via pull request December 9, 2024 18:51
Status Failure
Total duration 14m 10s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 6 warnings, and 1 notice
[chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/end-to-end/copypaste/copypaste.test.ts#L1
1) [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Test timeout of 30000ms exceeded.
[chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/end-to-end/copypaste/copypaste.test.ts#L163
1) [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[class*="bn-visual-media-resize-handle"][style*="right"]') to be visible 161 | await page.click(`img`); 162 | > 163 | await page.waitForSelector( | ^ 164 | `[class*="bn-visual-media-resize-handle"][style*="right"]` 165 | ); 166 | const resizeHandle = page.locator( at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts:163:16
[chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/end-to-end/copypaste/copypaste.test.ts#L1
1) [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/end-to-end/copypaste/copypaste.test.ts#L163
1) [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[class*="bn-visual-media-resize-handle"][style*="right"]') to be visible 161 | await page.click(`img`); 162 | > 163 | await page.waitForSelector( | ^ 164 | `[class*="bn-visual-media-resize-handle"][style*="right"]` 165 | ); 166 | const resizeHandle = page.locator( at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts:163:16
[chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/end-to-end/copypaste/copypaste.test.ts#L1
1) [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/end-to-end/copypaste/copypaste.test.ts#L163
1) [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[class*="bn-visual-media-resize-handle"][style*="right"]') to be visible 161 | await page.click(`img`); 162 | > 163 | await page.waitForSelector( | ^ 164 | `[class*="bn-visual-media-resize-handle"][style*="right"]` 165 | ); 166 | const resizeHandle = page.locator( at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts:163:16
[firefox] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
2) [firefox] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ────────────── Error: Screenshot comparison failed: 228 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
Build
Process completed with exit code 1.
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 27.1s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 26.9s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 24.0s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 21.1s
Slow Test: tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 20.2s
🎭 Playwright Run Summary
1 failed [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props 1 flaky [firefox] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─────────────── 18 skipped 247 passed (9.2m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
2.39 MB