fix(core): move openinapp guard to workspace scope #22996
Annotations
4 errors, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/attachment.spec.ts#L71
1) attachment.spec.ts:244:1 › should attachment can be deleted ───────────────────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
69 | await expect(slashMenu).toBeVisible();
70 |
> 71 | const fileChooser = page.waitForEvent('filechooser');
| ^
72 | await pressEnter(page);
73 | await sleep(100);
74 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:71:30)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:250:3
|
Run playwright tests:
blocksuite/tests-legacy/attachment.spec.ts#L71
2) attachment.spec.ts:377:1 › indent attachment block to paragraph ───────────────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
69 | await expect(slashMenu).toBeVisible();
70 |
> 71 | const fileChooser = page.waitForEvent('filechooser');
| ^
72 | await pressEnter(page);
73 | await sleep(100);
74 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:71:30)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:384:3
|
Run playwright tests:
blocksuite/tests-legacy/utils/asserts.ts#L207
3) clipboard/list.spec.ts:134:1 › paste a nested list to a nested list ───────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"aaa",
- "aaa",
+ "bbbaaa",
"bbb",
- "cccbbb",
+ "ccc",
"ccc",
]
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/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:207:23)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/clipboard/list.spec.ts:166:3
|
Run playwright tests:
blocksuite/tests-legacy/utils/asserts.ts#L207
4) clipboard/list.spec.ts:215:1 › paste nested lists to a nested list ────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"aaa",
- "111",
+ "bbb111",
"222",
"111",
- "222bbb",
+ "222",
"ccc",
]
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/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:207:23)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/clipboard/list.spec.ts:257:3
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright tests
4 flaky
attachment.spec.ts:244:1 › should attachment can be deleted ────────────────────────────────────
attachment.spec.ts:377:1 › indent attachment block to paragraph ────────────────────────────────
clipboard/list.spec.ts:134:1 › paste a nested list to a nested list ────────────────────────────
clipboard/list.spec.ts:215:1 › paste nested lists to a nested list ─────────────────────────────
2 skipped
93 passed (1.5m)
|
Loading