fix(page): clipboard payload does not have assets (#6194) #153
Annotations
10 errors, 1 warning, and 1 notice
Run playwright test:
tests/attachment.spec.ts#L1
1) attachment.spec.ts:279:1 › should rename attachment works ─────────────────────────────────────
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/utils/asserts.ts#L227
2) attachment.spec.ts:318:1 › should turn attachment to image works ──────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 1
Received: 0
at utils/asserts.ts:227
225 | const editor = getEditorLocator(page);
226 | const actual = await editor.locator('.resizable-img').count();
> 227 | expect(actual).toEqual(count);
| ^
228 | }
229 |
230 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:227:18)
at turnToEmbed (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:95:7)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:329:3
|
Run playwright test:
tests/utils/asserts.ts#L148
3) basic.spec.ts:349:1 › should undo/redo cursor works on title ──────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "title2"
Received: "2title"
at utils/asserts.ts:148
146 | const inlineEditor = editor.locator('.doc-title-container').first();
147 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 148 | expect(vText).toBe(text);
| ^
149 | }
150 |
151 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:148:17)
at /home/runner/work/blocksuite/blocksuite/tests/basic.spec.ts:369:3
|
Run playwright test:
tests/utils/actions/misc.ts#L290
4) bookmark.spec.ts:61:1 › create bookmark by slash menu ─────────────────────────────────────────
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 parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:290
288 | expect
289 | .soft('Unexpected console message: ' + message.text())
> 290 | .toBe(
| ^
291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
292 | );
293 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L290
5) bookmark.spec.ts:154:1 › covert bookmark block to link text ───────────────────────────────────
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: /link but actual: links"
at utils/actions/misc.ts:290
288 | expect
289 | .soft('Unexpected console message: ' + message.text())
> 290 | .toBe(
| ^
291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
292 | );
293 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
|
Run playwright test:
tests/bookmark.spec.ts#L58
5) bookmark.spec.ts:154:1 › covert bookmark block to link text ───────────────────────────────────
TimeoutError: locator.hover: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-bookmark')
56 | const hoverBookmarkBlock = async (page: Page) => {
57 | const listMenu = page.locator('affine-bookmark');
> 58 | await listMenu.hover();
| ^
59 | };
60 |
61 | test(scoped`create bookmark by slash menu`, async ({ page }) => {
at hoverBookmarkBlock (/home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:58:18)
at /home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:156:9
|
Run playwright test:
tests/utils/actions/misc.ts#L290
6) bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless mode ─────────────────────────
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 parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:290
288 | expect
289 | .soft('Unexpected console message: ' + message.text())
> 290 | .toBe(
| ^
291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
292 | );
293 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L290
7) bookmark.spec.ts:303:1 › support dragging bookmark block directly ─────────────────────────────
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 parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:290
288 | expect
289 | .soft('Unexpected console message: ' + message.text())
> 290 | .toBe(
| ^
291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
292 | );
293 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L290
7) bookmark.spec.ts:303:1 › support dragging bookmark block directly ─────────────────────────────
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 parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:290
288 | expect
289 | .soft('Unexpected console message: ' + message.text())
> 290 | .toBe(
| ^
291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
292 | );
293 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L290
7) bookmark.spec.ts:303:1 › support dragging bookmark block directly ─────────────────────────────
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 parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:290
288 | expect
289 | .soft('Unexpected console message: ' + message.text())
> 290 | .toBe(
| ^
291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
292 | );
293 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run playwright test
7 flaky
attachment.spec.ts:279:1 › should rename attachment works ──────────────────────────────────────
attachment.spec.ts:318:1 › should turn attachment to image works ───────────────────────────────
basic.spec.ts:349:1 › should undo/redo cursor works on title ───────────────────────────────────
bookmark.spec.ts:61:1 › create bookmark by slash menu ──────────────────────────────────────────
bookmark.spec.ts:154:1 › covert bookmark block to link text ────────────────────────────────────
bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless mode ──────────────────────────
bookmark.spec.ts:303:1 › support dragging bookmark block directly ──────────────────────────────
16 skipped
43 passed (3.2m)
|
The logs for this run have expired and are no longer available.
Loading