chore(blocks): reuse attachment upload method #8991
Annotations
2 errors, 2 warnings, and 1 notice
Run playwright test:
tests/edgeless/selection/selection.spec.ts#L370
1) edgeless/selection/selection.spec.ts:206:1 › should auto panning when selection rectangle reaches viewport edges
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-edgeless-selected-rect')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-edgeless-selected-rect')
368 | selectedRect = page.locator(selectedRectClass);
369 | await page.waitForTimeout(300);
> 370 | await expect(selectedRect).toBeVisible();
| ^
371 | });
372 |
373 | test('should also update dragging area when viewport changes', async ({
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/selection.spec.ts:370:30
|
Run playwright test:
tests/utils/actions/edgeless.ts#L358
2) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ─────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-slide-menu edgeless-tool-icon-button').filter({ hasText: 'Square' })
- locator resolved to <edgeless-tool-icon-button role="button">…</edgeless-tool-icon-button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
at utils/actions/edgeless.ts:358
356 | .locator('edgeless-slide-menu edgeless-tool-icon-button')
357 | .filter({ hasText: shape });
> 358 | await squareShapeButton.click();
| ^
359 | break;
360 | }
361 | }
at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:358:31)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:137:3
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Upload E2E test coverage results
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Run playwright test
2 flaky
edgeless/selection/selection.spec.ts:206:1 › should auto panning when selection rectangle reaches viewport edges
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
3 skipped
44 passed (1.4m)
|
Loading