fix(page): snapshot export assets rename #15858
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 timeout of 30000ms exceeded.
|
Run playwright test:
tests/attachment.spec.ts#L100
1) attachment.spec.ts:279:1 › should rename attachment works ─────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.affine-attachment-options').locator('icon-button').filter({ hasText: 'Rename' })
- locator resolved to <icon-button size="32px" tabindex="0" data-test-disabled="fal…>…</icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
98 | await attachment.hover();
99 | await expect(options).toBeVisible();
> 100 | await renameBtn.click();
| ^
101 | await page.keyboard.press(`${SHORT_KEY}+a`, { delay: 50 });
102 | await pressBackspace(page);
103 | await type(page, newName);
at rename (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:100:23)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:314:3
|
Run playwright test:
tests/utils/asserts.ts#L147
2) 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:147
145 | const inlineEditor = editor.locator('.doc-title-container').first();
146 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 147 | expect(vText).toBe(text);
| ^
148 | }
149 |
150 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:147:17)
at /home/runner/work/blocksuite/blocksuite/tests/basic.spec.ts:369:3
|
Run playwright test:
tests/utils/actions/misc.ts#L247
3) 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:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L247
3) 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:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L247
4) 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:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L247
4) 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: @p://localhost but actual: tp://localhost"
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
Run playwright test:
tests/bookmark.spec.ts#L58
4) 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#L247
5) bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless mode ─────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 3
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: Error: Failed to get current range, rangeCount is 0
+ at getCurrentNativeRange (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/utils/selection.ts:3308:11)
+ at updateQuery (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/components/utils.ts:2625:44)
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L247
5) bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless mode ─────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 3
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: Error: Failed to get current range, rangeCount is 0
+ at getCurrentNativeRange (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/utils/selection.ts:3308:11)
+ at updateQuery (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/components/utils.ts:2625:44)
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247: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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run playwright test
6 flaky
attachment.spec.ts:279:1 › should rename attachment 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.3m)
|
The logs for this run have expired and are no longer available.
Loading