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/quick-search.spec.ts#L573
1) quick-search.spec.ts:548:5 › can use slash menu to insert a newly created doc card ────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.affine-embed-linked-doc-content-title')
- Expected string - 1
+ Received string + 13
- test title
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('.affine-embed-linked-doc-content-title')
- locator resolved to <div class="affine-embed-linked-doc-content-title">…</div>
- unexpected value "
1
"
- locator resolved to <div class="affine-embed-linked-doc-content-title">…</div>
- unexpected value "
1
"
- locator resolved to <div class="affine-embed-linked-doc-content-title">…</div>
- unexpected value "
1
"
- locator resolved to <div class="affine-embed-linked-doc-content-title">…</div>
- unexpected value "
1
"
- locator resolved to <div class="affine-embed-linked-doc-content-title">…</div>
- unexpected value "
1
"
- locator resolved to <div class="affine-embed-linked-doc-content-title">…</div>
- unexpected value "
1
"
- locator resolved to <div class="affine-embed-linked-doc-content-title">…</div>
- unexpected value "
1
"
- locator resolved to <div class="affine-embed-linked-doc-content-title">…</div>
- unexpected value "
1
"
- locator resolved to <div class="affine-embed-linked-doc-content-title">…</div>
- unexpected value "
1
"
571 | await expect(
572 | page.locator('.affine-embed-linked-doc-content-title')
> 573 | ).toContainText(testTitle);
| ^
574 | });
575 |
576 | test('can use slash menu to insert an external link', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:573:5
|
Run playwright tests:
tests/affine-local/router.spec.ts#L1
tests/affine-local/router.spec.ts took 25.4s
|
Run playwright tests
1 flaky
quick-search.spec.ts:548:5 › can use slash menu to insert a newly created doc card ─────────────
30 passed (3.8m)
|
Loading