refactor: support multiple-editors #15034
Annotations
5 errors and 1 notice
Run playwright test:
tests/edgeless/basic.spec.ts#L1
1) edgeless/basic.spec.ts:67:1 › can zoom viewport ───────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/asserts.ts#L787
1) edgeless/basic.spec.ts:67:1 › can zoom viewport ───────────────────────────────────────────────
Error: locator.boundingBox: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('affine-editor-container').first().locator('edgeless-selected-rect').locator('.affine-edgeless-selected-rect')
at utils/asserts.ts:787
785 | .locator('edgeless-selected-rect')
786 | .locator('.affine-edgeless-selected-rect');
> 787 | const box = await selectedRect.boundingBox();
| ^
788 | if (!box) throw new Error('Missing edgeless selected rect');
789 |
790 | expect(box.x).toBeCloseTo(x, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:787:34)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:88:9
|
Run playwright test:
tests/edgeless/basic.spec.ts#L1
2) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ──────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/click.ts#L38
2) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ──────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('debug-menu').locator('sl-tooltip[content="Undo"]')
- locator resolved to <sl-tooltip hoist="" content="Undo" placement="bottom">…</sl-tooltip>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- element is not visible
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
at utils/actions/click.ts:38
36 |
37 | export async function undoByClick(page: Page) {
> 38 | await getDebugMenu(page).undoBtn.click();
| ^
39 | }
40 |
41 | export async function redoByClick(page: Page) {
at undoByClick (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/click.ts:38:36)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:132:9
|
Run playwright test:
tests/edgeless/basic.spec.ts#L187
3) edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
Error: expect.toBeVisible: Error: strict mode violation: locator('.affine-tooltip') resolved to 2 elements:
1) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'Select V' })
2) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'More' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-tooltip')
185 |
186 | await page.mouse.move(moreButtonBox.x + 10, moreButtonBox.y + 10);
> 187 | await expect(tooltip).toBeVisible();
| ^
188 |
189 | await page.mouse.click(moreButtonBox.x + 10, moreButtonBox.y + 10);
190 | await expect(tooltip).toBeHidden();
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:187:25
|
Run playwright test
3 flaky
edgeless/basic.spec.ts:67:1 › can zoom viewport ────────────────────────────────────────────────
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ───────────────────
edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
3 skipped
58 passed (4.4m)
|
The logs for this run have expired and are no longer available.
Loading