feat: allow peek view to be closed by the caller && bump bs #16826
Annotations
5 errors, 1 warning, and 1 notice
tests/affine-local/e2e/quick-search.spec.ts#L501
1) quick-search.spec.ts:461:5 › can use @ to open quick search to search for doc and insert into canvas
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('peek-view-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('peek-view-modal')
499 | .locator('affine-embed-edgeless-linked-doc-block')
500 | .dblclick({ force: true });
> 501 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
502 | });
503 |
504 | test('can paste a doc link to create link reference', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:501:53
|
tests/affine-local/e2e/quick-search.spec.ts#L501
1) quick-search.spec.ts:461:5 › can use @ to open quick search to search for doc and insert into canvas
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('peek-view-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('peek-view-modal')
499 | .locator('affine-embed-edgeless-linked-doc-block')
500 | .dblclick({ force: true });
> 501 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
502 | });
503 |
504 | test('can paste a doc link to create link reference', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:501:53
|
tests/affine-local/e2e/quick-search.spec.ts#L501
1) quick-search.spec.ts:461:5 › can use @ to open quick search to search for doc and insert into canvas
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('peek-view-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('peek-view-modal')
499 | .locator('affine-embed-edgeless-linked-doc-block')
500 | .dblclick({ force: true });
> 501 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
502 | });
503 |
504 | test('can paste a doc link to create link reference', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:501:53
|
tests/affine-local/e2e/quick-search.spec.ts#L501
1) quick-search.spec.ts:461:5 › can use @ to open quick search to search for doc and insert into canvas
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('peek-view-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('peek-view-modal')
499 | .locator('affine-embed-edgeless-linked-doc-block')
500 | .dblclick({ force: true });
> 501 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
502 | });
503 |
504 | test('can paste a doc link to create link reference', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:501:53
|
|
tests/affine-local/router.spec.ts#L1
tests/affine-local/router.spec.ts took 22.0s
|
|
This job failed
Loading