fix(mobile): fixed all docs header, remove doc card tags layout strat… #14807
Annotations
4 errors, 1 warning, and 1 notice
tests/affine-local/e2e/quick-search.spec.ts#L1
1) quick-search.spec.ts:168:5 › Create a new page and search this page ───────────────────────────
Test timeout of 50000ms exceeded.
|
tests/affine-local/e2e/quick-search.spec.ts#L189
1) quick-search.spec.ts:168:5 › Create a new page and search this page ───────────────────────────
Error: page.reload: Test timeout of 50000ms exceeded.
Call log:
- waiting for navigation until "load"
- navigated to "http://localhost:8080/workspace/HM3oHi3Hnf5MofE1iCmRL/su4JSPTdgbvzQED0ZbpnX"
187 | await assertTitle(page, 'test123456');
188 |
> 189 | await page.reload();
| ^
190 | await waitForEditorLoad(page);
191 | await openQuickSearchByShortcut(page);
192 | await insertInputText(page, 'test123456');
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:189:14
|
tests/affine-local/e2e/quick-search.spec.ts#L452
2) quick-search.spec.ts:434:5 › disable quick search when the link-popup is visitable ────────────
Error: locator.dblclick: Error: strict mode violation: getByText('1234567890') resolved to 2 elements:
1) <div class="inline-edit_inlineEdit__1ejglp91">"test"1234567890</div> aka getByTestId('title-edit-button').getByText('"test"')
2) <span data-v-text="true">…</span> aka getByTestId('editor-ex1bt-mKA3iFoXff2YQ9J').getByText('"test"')
Call log:
- waiting for getByText('1234567890')
450 | await page.keyboard.press('Enter', { delay: 10 });
451 | await page.keyboard.insertText('1234567890');
> 452 | await page.getByText('1234567890').dblclick();
| ^
453 |
454 | await withCtrlOrMeta(page, () => page.keyboard.press('k'));
455 | const linkPopup = page.locator('.affine-link-popover');
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:452:38
|
tests/affine-local/e2e/quick-search.spec.ts#L573
3) 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 |
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:573:5
|
tests/affine-local/router.spec.ts#L1
tests/affine-local/router.spec.ts took 24.4s
|
3 flaky
quick-search.spec.ts:168:5 › Create a new page and search this page ────────────────────────────
quick-search.spec.ts:434:5 › disable quick search when the link-popup is visitable ─────────────
quick-search.spec.ts:548:5 › can use slash menu to insert a newly created doc card ─────────────
27 passed (4.3m)
|
This job succeeded
Loading