refactor: support multiple-editors #15034
Annotations
3 errors and 1 notice
Run playwright test:
tests/list.spec.ts#L1
1) list.spec.ts:54:1 › add new toggle list ───────────────────────────────────────────────────────
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/list.spec.ts#L1
2) list.spec.ts:71:1 › convert to numbered list block ────────────────────────────────────────────
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#L250
3) paragraph.spec.ts:1168:1 › handling keyup when cursor located in first paragraph ──────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: locator('doc-title .inline-editor').first()
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('doc-title .inline-editor').first()
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "not focused"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "not focused"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "not focused"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "not focused"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "not focused"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "not focused"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "not focused"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "not focused"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "not focused"
at utils/asserts.ts:250
248 | export async function assertPageTitleFocus(page: Page) {
249 | const locator = page.locator('doc-title .inline-editor').nth(0);
> 250 | await expect(locator).toBeFocused();
| ^
251 | }
252 |
253 | export async function assertListPrefix(
at assertPageTitleFocus (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:250:25)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1182:9
|
Run playwright test
3 flaky
list.spec.ts:54:1 › add new toggle list ────────────────────────────────────────────────────────
list.spec.ts:71:1 › convert to numbered list block ─────────────────────────────────────────────
paragraph.spec.ts:1168:1 › handling keyup when cursor located in first paragraph ───────────────
61 passed (3.4m)
|
The logs for this run have expired and are no longer available.
Loading