feat: online copilot api test #18220
Annotations
1 error and 1 notice
Run playwright tests:
tests/affine-local/e2e/quick-search.spec.ts#L557
1) quick-search.spec.ts:532: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
"
555 | await expect(
556 | page.locator('.affine-embed-linked-doc-content-title')
> 557 | ).toContainText(testTitle);
| ^
558 | });
559 |
560 | 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:557:5
|
Run playwright tests
1 flaky
quick-search.spec.ts:532:5 › can use slash menu to insert a newly created doc card ─────────────
32 passed (3.8m)
|
Loading