refactor: support multiple-editors #15037
Annotations
8 errors, 1 warning, and 1 notice
Run playwright test:
tests/utils/asserts.ts#L196
1) slash-menu.spec.ts:769:1 › delete block by slash menu should remove children ──────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"123",
- "456",
- "789",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:814:3
|
Run playwright test:
tests/utils/asserts.ts#L196
1) slash-menu.spec.ts:769:1 › delete block by slash menu should remove children ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"123",
- "456",
- "789",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:814:3
|
Run playwright test:
tests/utils/asserts.ts#L196
1) slash-menu.spec.ts:769:1 › delete block by slash menu should remove children ──────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"123",
- "456",
- "789",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:814:3
|
Run playwright test:
tests/utils/asserts.ts#L196
1) slash-menu.spec.ts:769:1 › delete block by slash menu should remove children ──────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"123",
- "456",
- "789",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:814:3
|
Run playwright test:
tests/selection/native.spec.ts#L1
2) selection/native.spec.ts:898:1 › Change title when first content is divider ───────────────────
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/slash-menu.spec.ts#L383
3) slash-menu.spec.ts:341:3 › slash search › should slash menu search and keyboard works ─────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
381 |
382 | await type(page, '/');
> 383 | await expect(slashMenu).toBeVisible();
| ^
384 | // first item should be selected by default
385 | await expect(slashItems.first()).toHaveAttribute('hover', 'true');
386 |
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:383:29
|
Run playwright test:
tests/slash-menu.spec.ts#L383
3) slash-menu.spec.ts:341:3 › slash search › should slash menu search and keyboard works ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
381 |
382 | await type(page, '/');
> 383 | await expect(slashMenu).toBeVisible();
| ^
384 | // first item should be selected by default
385 | await expect(slashItems.first()).toHaveAttribute('hover', 'true');
386 |
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:383:29
|
Run playwright test
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run playwright test
1 failed
slash-menu.spec.ts:769:1 › delete block by slash menu should remove children ───────────────────
2 flaky
selection/native.spec.ts:898:1 › Change title when first content is divider ────────────────────
slash-menu.spec.ts:341:3 › slash search › should slash menu search and keyboard works ──────────
2 skipped
59 passed (3.5m)
|
The logs for this run have expired and are no longer available.
Loading