fix(admin): avoid frequent refetch (#7863) #13303
Annotations
1 error, 1 warning, and 1 notice
tests/kit/utils/editor.ts#L28
1) change-page-mode.spec.ts:63:5 › Quick Switch Doc Mode, Doc Mode should stable ─────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[data-testid="switch-page-mode-button"][aria-checked="true"]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[data-testid="switch-page-mode-button"][aria-checked="true"]')
at ../../kit/utils/editor.ts:28
26 |
27 | export async function ensureInPageMode(page: Page) {
> 28 | await expect(locateModeSwitchButton(page, 'page', true)).toBeVisible();
| ^
29 | }
30 |
31 | export async function ensureInEdgelessMode(page: Page) {
at ensureInPageMode (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/editor.ts:28:60)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/change-page-mode.spec.ts:92:25
|
tests/affine-local/ai-land.spec.ts#L1
tests/affine-local/ai-land.spec.ts took 43.1s
|
|
This job succeeded
Loading