feat(core): remember the scroll position of doc when routing forward and backward #17430
Annotations
1 error, 1 warning, and 1 notice
Run playwright tests:
tests/affine-local/e2e/blocksuite/outline.spec.ts#L117
1) blocksuite/outline.spec.ts:73:5 › outline viewer should be useable in doc peek preview ────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByTestId('peek-view-modal').locator('affine-outline-viewer .outline-viewer-indicator')
Expected: 3
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByTestId('peek-view-modal').locator('affine-outline-viewer .outline-viewer-indicator')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
115 |
116 | const indicators = getIndicators(peekView);
> 117 | await expect(indicators).toHaveCount(3);
| ^
118 | await expect(indicators.nth(0)).toBeVisible();
119 | await expect(indicators.nth(1)).toBeVisible();
120 | await expect(indicators.nth(2)).toBeVisible();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline.spec.ts:117:28
|
Run playwright tests:
tests/affine-local/ai-land.spec.ts#L1
tests/affine-local/ai-land.spec.ts took 42.5s
|
Run playwright tests
1 flaky
blocksuite/outline.spec.ts:73:5 › outline viewer should be useable in doc peek preview ─────────
31 passed (3.8m)
|
Loading