chore(blocks): reuse attachment upload method #8991
Annotations
1 error, 2 warnings, and 1 notice
Run playwright test:
tests/slash-menu.spec.ts#L401
1) 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/blocksuite/blocksuite/tests/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
|
Upload E2E test coverage results
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Run playwright test
1 flaky
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
44 passed (42.5s)
|
Loading