perf(editor): reduce frequency of native selection sync #21803
Annotations
10 errors, 2 warnings, and 1 notice
tests/kit/utils/page-logic.ts#L70
1) drag-page.spec.ts:215:5 › drag a page link in editor to favourites ────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
at ../../kit/utils/page-logic.ts:70
68 | await page.keyboard.type('@', { delay: 50 });
69 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 70 | await expect(linkedPagePopover).toBeVisible();
| ^
71 | await type(page, pageName || 'Untitled');
72 |
73 | await linkedPagePopover
at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:70:35)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:219:3
|
tests/kit/utils/page-logic.ts#L70
1) drag-page.spec.ts:215:5 › drag a page link in editor to favourites ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
at ../../kit/utils/page-logic.ts:70
68 | await page.keyboard.type('@', { delay: 50 });
69 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 70 | await expect(linkedPagePopover).toBeVisible();
| ^
71 | await type(page, pageName || 'Untitled');
72 |
73 | await linkedPagePopover
at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:70:35)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:219:3
|
tests/kit/utils/page-logic.ts#L70
1) drag-page.spec.ts:215:5 › drag a page link in editor to favourites ────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
at ../../kit/utils/page-logic.ts:70
68 | await page.keyboard.type('@', { delay: 50 });
69 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 70 | await expect(linkedPagePopover).toBeVisible();
| ^
71 | await type(page, pageName || 'Untitled');
72 |
73 | await linkedPagePopover
at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:70:35)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:219:3
|
tests/kit/utils/page-logic.ts#L70
1) drag-page.spec.ts:215:5 › drag a page link in editor to favourites ────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
at ../../kit/utils/page-logic.ts:70
68 | await page.keyboard.type('@', { delay: 50 });
69 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 70 | await expect(linkedPagePopover).toBeVisible();
| ^
71 | await type(page, pageName || 'Untitled');
72 |
73 | await linkedPagePopover
at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:70:35)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:219:3
|
tests/kit/utils/page-logic.ts#L70
2) drag-page.spec.ts:246:5 › drag a page card block to another page ──────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
at ../../kit/utils/page-logic.ts:70
68 | await page.keyboard.type('@', { delay: 50 });
69 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 70 | await expect(linkedPagePopover).toBeVisible();
| ^
71 | await type(page, pageName || 'Untitled');
72 |
73 | await linkedPagePopover
at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:70:35)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:250:3
|
tests/kit/utils/page-logic.ts#L70
2) drag-page.spec.ts:246:5 › drag a page card block to another page ──────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
at ../../kit/utils/page-logic.ts:70
68 | await page.keyboard.type('@', { delay: 50 });
69 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 70 | await expect(linkedPagePopover).toBeVisible();
| ^
71 | await type(page, pageName || 'Untitled');
72 |
73 | await linkedPagePopover
at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:70:35)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:250:3
|
tests/kit/utils/page-logic.ts#L70
2) drag-page.spec.ts:246:5 › drag a page card block to another page ──────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
at ../../kit/utils/page-logic.ts:70
68 | await page.keyboard.type('@', { delay: 50 });
69 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 70 | await expect(linkedPagePopover).toBeVisible();
| ^
71 | await type(page, pageName || 'Untitled');
72 |
73 | await linkedPagePopover
at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:70:35)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:250:3
|
tests/kit/utils/page-logic.ts#L70
2) drag-page.spec.ts:246:5 › drag a page card block to another page ──────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
at ../../kit/utils/page-logic.ts:70
68 | await page.keyboard.type('@', { delay: 50 });
69 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 70 | await expect(linkedPagePopover).toBeVisible();
| ^
71 | await type(page, pageName || 'Untitled');
72 |
73 | await linkedPagePopover
at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:70:35)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:250:3
|
tests/affine-local/e2e/import-dialog.spec.ts#L44
3) import-dialog.spec.ts:39:5 › Open import dialog by @ menu import button ───────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
42 | await page.keyboard.type('@', { delay: 50 });
43 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 44 | await expect(linkedPagePopover).toBeVisible();
| ^
45 |
46 | const importButton = page.locator(
47 | '.linked-doc-popover icon-button[data-id="import"]'
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/import-dialog.spec.ts:44:35
|
tests/affine-local/e2e/import-dialog.spec.ts#L44
3) import-dialog.spec.ts:39:5 › Open import dialog by @ menu import button ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
42 | await page.keyboard.type('@', { delay: 50 });
43 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 44 | await expect(linkedPagePopover).toBeVisible();
| ^
45 |
46 | const importButton = page.locator(
47 | '.linked-doc-popover icon-button[data-id="import"]'
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/import-dialog.spec.ts:44:35
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests/affine-local/journal.spec.ts#L1
tests/affine-local/journal.spec.ts took 29.7s
|
3 failed
drag-page.spec.ts:215:5 › drag a page link in editor to favourites ─────────────────────────────
drag-page.spec.ts:246:5 › drag a page card block to another page ───────────────────────────────
import-dialog.spec.ts:39:5 › Open import dialog by @ menu import button ────────────────────────
34 passed (5.1m)
|
This job failed
Loading