refactor(core): move infra modules to core #20522
Annotations
2 errors, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/selection/native.spec.ts#L295
1) selection/native.spec.ts:266:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 12
Received: -1
293 | const textTwo = await getInlineSelectionText(page);
294 | expect(textTwo).toBe('arrow down test 1');
> 295 | expect(indexTwo).toBeGreaterThanOrEqual(12);
| ^
296 | expect(indexTwo).toBeLessThanOrEqual(17);
297 | await page.keyboard.press('ArrowDown');
298 | const textThree = await getInlineSelectionText(page);
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/selection/native.spec.ts:295:20
|
Run playwright tests:
blocksuite/tests-legacy/slash-menu.spec.ts#L401
2) slash-menu.spec.ts:378:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
Expected string: "true"
Received string: "false"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
9 × locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
399 | await type(page, '/');
400 | await pressArrowDown(page, 4);
> 401 | await expect(slashItems.nth(4)).toHaveAttribute('hover', 'true');
| ^
402 | await expect(slashItems.nth(4).locator('.text')).toHaveText([
403 | 'Other Headings',
404 | ]);
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/slash-menu.spec.ts:401:37
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright tests
2 flaky
selection/native.spec.ts:266:1 › cursor move to up and down with children block ────────────────
slash-menu.spec.ts:378:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
3 skipped
93 passed (1.4m)
|
Loading