refactor: move chat block to affine (#8368) #16609
Annotations
3 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#L22
1) quick-search.spec.ts:168:5 › Create a new page and search this page ───────────────────────────
Error: locator.fill: Test timeout of 50000ms exceeded.
Call log:
- waiting for locator('[cmdk-input]')
20 |
21 | const insertInputText = async (page: Page, text: string) => {
> 22 | await page.locator('[cmdk-input]').fill(text);
| ^
23 | const actual = await page.locator('[cmdk-input]').inputValue();
24 | expect(actual).toBe(text);
25 | };
at insertInputText (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:22:38)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:192:9
|
tests/affine-local/e2e/quick-search.spec.ts#L573
2) 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
|
tests/affine-local/router.spec.ts#L1
tests/affine-local/router.spec.ts took 24.2s
|
|
This job succeeded
Loading