refactor: support multiple-editors #15035
Annotations
6 errors and 1 notice
Run playwright test:
tests/edgeless/shape.spec.ts#L1
1) edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ──────────────────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/drag.ts#L21
1) edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ──────────────────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicRectShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:347:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:85:5
|
Run playwright test:
tests/edgeless/shape.spec.ts#L1
2) edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ───────────────────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/edgeless.ts#L230
2) edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ───────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('edgeless-toolbar edgeless-tool-icon-button.edgeless-default-button')
- locator resolved to <edgeless-tool-icon-button class="edgeless-default-button brush">…</edgeless-tool-icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
at utils/actions/edgeless.ts:230
228 | const classes = (await button.getAttribute('class'))?.split(' ');
229 | if (!classes?.includes('default')) {
> 230 | await button.click();
| ^
231 | await sleep(100);
232 | }
233 | break;
at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:230:22)
at addBasicBrushElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:338:12)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:99:3
|
Run playwright test:
tests/edgeless/shape.spec.ts#L1
3) edgeless/shape.spec.ts:131:1 › change shape stroke color ──────────────────────────────────────
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
Run playwright test:
tests/format-bar.spec.ts#L427
4) format-bar.spec.ts:309:1 › should format quick bar be able to change background color ─────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget').getByTestId('unset')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- unexpected value "hidden"
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- unexpected value "hidden"
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- unexpected value "hidden"
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- unexpected value "hidden"
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- unexpected value "hidden"
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- unexpected value "hidden"
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- unexpected value "hidden"
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- unexpected value "hidden"
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- unexpected value "hidden"
425 | );
426 |
> 427 | await expect(highlight.defaultColorBtn).toBeVisible();
| ^
428 | await highlight.defaultColorBtn.click();
429 |
430 | await assertStoreMatchJSX(
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:427:43
|
Run playwright test
4 flaky
edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ───────────────────────────────
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ────────────────────────────────
edgeless/shape.spec.ts:131:1 › change shape stroke color ───────────────────────────────────────
format-bar.spec.ts:309:1 › should format quick bar be able to change background color ──────────
1 skipped
59 passed (3.7m)
|
The logs for this run have expired and are no longer available.
Loading