refactor(sync): replace MemoryDocSource
with NoopDocSource
(#6410)
#174
Annotations
4 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#L98
1) attachment.spec.ts:279:1 › should rename attachment works ─────────────────────────────────────
Error: locator.hover: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('affine-attachment')
- locator resolved to <affine-attachment class="" data-block-id="3" contenteditable="fals…>…</affine-attachment>
- attempting hover action
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- performing hover action
96 | },
97 | rename: async (newName: string) => {
> 98 | await attachment.hover();
| ^
99 | await expect(options).toBeVisible();
100 | await renameBtn.click();
101 | await page.keyboard.press(`${SHORT_KEY}+a`, { delay: 50 });
at rename (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:98:24)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:314:9
|
Run playwright test:
tests/utils/asserts.ts#L228
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:228
226 | const editor = getEditorLocator(page);
227 | const actual = await editor.locator('.resizable-img').count();
> 228 | expect(actual).toEqual(count);
| ^
229 | }
230 |
231 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:228: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#L207
3) basic.spec.ts:312:1 › should undo/redo works on title ─────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "hello world",
+ "hello ",
]
at utils/asserts.ts:207
205 | });
206 | }, currentEditorIndex);
> 207 | expect(actualTexts).toEqual(texts);
| ^
208 | }
209 |
210 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:207:23)
at /home/runner/work/blocksuite/blocksuite/tests/basic.spec.ts:339:3
|
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
3 flaky
attachment.spec.ts:279:1 › should rename attachment works ──────────────────────────────────────
attachment.spec.ts:318:1 › should turn attachment to image works ───────────────────────────────
basic.spec.ts:312:1 › should undo/redo works on title ──────────────────────────────────────────
17 skipped
47 passed (2.9m)
|
The logs for this run have expired and are no longer available.
Loading