fix(server): data-migration script (#9306) #20862
Annotations
2 errors, 1 warning, and 1 notice
blocksuite/tests-legacy/edgeless/selection/selection.spec.ts#L269
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).toBeHidden()
Locator: locator('.affine-edgeless-selected-rect')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('.affine-edgeless-selected-rect')
9 × locator resolved to <div disabled="true" data-mode="resize" data-locked="false" class="affine-edgeless-selected-rect">…</div>
- unexpected value "visible"
267 | selectedRect = page.locator(selectedRectClass);
268 | await page.waitForTimeout(300);
> 269 | await expect(selectedRect).toBeHidden();
| ^
270 | // Click to start selection and hold the mouse to trigger auto panning to the top
271 | await page.mouse.move(600, 100);
272 | await page.mouse.down();
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/selection/selection.spec.ts:269:30
|
blocksuite/tests-legacy/utils/actions/edgeless.ts#L368
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:368
366 | .locator('edgeless-slide-menu edgeless-tool-icon-button')
367 | .filter({ hasText: shape });
> 368 | await squareShapeButton.click();
| ^
369 | break;
370 | }
371 | }
at setEdgelessTool (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/edgeless.ts:368:31)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/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
|
|
This job succeeded
Loading