fix(database): cell selection doesn't support multiple cells with keyboard #3097
Annotations
8 errors, 1 warning, and 1 notice
tests/selection/native.spec.ts#L1
1) selection/native.spec.ts:571:1 › select all text with dragging and delete by forwardDelete ────
Test timeout of 40000ms exceeded.
|
tests/utils/actions/misc.ts#L288
1) selection/native.spec.ts:571:1 › select all text with dragging and delete by forwardDelete ────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-fcc211b2-1bd7-44d0-81b8-e92b0f0f4c33&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:574:9
|
tests/selection/native.spec.ts#L1
2) selection/native.spec.ts:588:1 › select all text with keyboard delete ─────────────────────────
Test timeout of 40000ms exceeded.
|
tests/utils/actions/misc.ts#L288
2) selection/native.spec.ts:588:1 › select all text with keyboard delete ─────────────────────────
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-00112d28-8a50-4893-8c97-301f88a8b83a&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:589:9
|
tests/selection/native.spec.ts#L1
3) selection/native.spec.ts:616:1 › select text leaving a few words in the last line and delete ──
Test timeout of 40000ms exceeded.
|
tests/utils/actions/misc.ts#L288
3) selection/native.spec.ts:616:1 › select text leaving a few words in the last line and delete ──
Error: page.goto: Test timeout of 40000ms exceeded.
Call log:
- navigating to "http://localhost:5173/starter/?room=playwright-13329fd5-e83e-4c78-abfe-29ff6c8e672d&blobSource=idb", waiting until "load"
at utils/actions/misc.ts:288
286 | url.searchParams.set('room', room);
287 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb');
> 288 | await page.goto(url.toString());
| ^
289 | // const readyPromise = waitForPageReady(page);
290 |
291 | // See https://github.com/microsoft/playwright/issues/5546
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:288:14)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:619:9
|
tests/utils/actions/misc.ts#L298
4) slash-menu.spec.ts:506:1 › should clean slash string after soft enter ─────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to clean text! Text mismatch expected: /opy but actual: copy"
at utils/actions/misc.ts:298
296 | expect
297 | .soft('Unexpected console message: ' + message.text())
> 298 | .toBe(
| ^
299 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
300 | );
301 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:298:10)
|
tests/utils/asserts.ts#L722
4) slash-menu.spec.ts:506:1 › should clean slash string after soft enter ─────────────────────────
Error: <affine:paragraph
prop:text="hello
/copy"
prop:type="text"
/>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<affine:paragraph
prop:text="hello
- "
+ /copy"
prop:type="text"
/>
at utils/asserts.ts:722
720 | printFunctionName: false,
721 | });
> 722 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
723 | }
724 |
725 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:722:38)
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:520:3
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
4 flaky
selection/native.spec.ts:571:1 › select all text with dragging and delete by forwardDelete ─────
selection/native.spec.ts:588:1 › select all text with keyboard delete ──────────────────────────
selection/native.spec.ts:616:1 › select text leaving a few words in the last line and delete ───
slash-menu.spec.ts:506:1 › should clean slash string after soft enter ──────────────────────────
2 skipped
74 passed (5.6m)
|
This job succeeded
Loading