chore(edgeless): move templates to AFFiNE side #15939
Annotations
7 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 timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/keyboard.ts#L27
1) attachment.spec.ts:279:1 › should rename attachment works ─────────────────────────────────────
Error: keyboard.type: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:27
25 |
26 | export async function type(page: Page, content: string, delay = 20) {
> 27 | await page.keyboard.type(content, { delay });
| ^
28 | }
29 |
30 | export async function withPressKey(
at type (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:27:23)
at rename (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:103:13)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:314:3
|
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#L260
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:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L260
5) bookmark.spec.ts:193:1 › copy url to create bookmark in page 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:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L260
5) bookmark.spec.ts:193:1 › copy url to create bookmark in page 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:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260: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
5 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:193:1 › copy url to create bookmark in page mode ──────────────────────────────
16 skipped
45 passed (3.1m)
|
The logs for this run have expired and are no longer available.
Loading