fix(page): update code theme by page theme #16448
Annotations
3 errors, 1 warning, and 1 notice
Run playwright test:
tests/edgeless/basic.spec.ts#L1
1) edgeless/basic.spec.ts:218:1 › Before and after switching to Edgeless, the previous zoom ratio and position when Edgeless was opened should be remembered
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/edgeless.ts#L108
1) edgeless/basic.spec.ts:218:1 › Before and after switching to Edgeless, the previous zoom ratio and position when Edgeless was opened should be remembered
Error: page.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('sl-tooltip[content="Switch Editor"]')
- locator resolved to <sl-tooltip hoist="" placement="bottom" content="Switch Edit…>…</sl-tooltip>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- element is not visible
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at utils/actions/edgeless.ts:108
106 |
107 | export async function switchEditorMode(page: Page) {
> 108 | await page.click('sl-tooltip[content="Switch Editor"]');
| ^
109 | // FIXME: listen to editor loaded event
110 | await waitNextFrame(page);
111 | }
at switchEditorMode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:108:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:232:9
|
Run playwright test:
tests/edgeless/basic.spec.ts#L1
2) edgeless/basic.spec.ts:237:1 › should close zoom bar when click blank area ────────────────────
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.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run playwright test
2 flaky
edgeless/basic.spec.ts:218:1 › Before and after switching to Edgeless, the previous zoom ratio and position when Edgeless was opened should be remembered
edgeless/basic.spec.ts:237:1 › should close zoom bar when click blank area ─────────────────────
3 skipped
62 passed (4.5m)
|
Loading