feat: allow peek view to be closed by the caller && bump bs #16826
Annotations
10 errors, 4 warnings, and 1 notice
tests/affine-local/e2e/peek-view.spec.ts#L39
1) peek-view.spec.ts:20:5 › can open peek view via link popover ──────────────────────────────────
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')
37 |
38 | // verify peek view is opened
> 39 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
40 | await expect(page.getByTestId('peek-view-modal')).toContainText('Test Page');
41 |
42 | // can use 'esc' to close peek view
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:39:53
|
tests/affine-local/e2e/peek-view.spec.ts#L39
1) peek-view.spec.ts:20:5 › can open peek view via link popover ──────────────────────────────────
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')
37 |
38 | // verify peek view is opened
> 39 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
40 | await expect(page.getByTestId('peek-view-modal')).toContainText('Test Page');
41 |
42 | // can use 'esc' to close peek view
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:39:53
|
tests/affine-local/e2e/peek-view.spec.ts#L39
1) peek-view.spec.ts:20:5 › can open peek view via link popover ──────────────────────────────────
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')
37 |
38 | // verify peek view is opened
> 39 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
40 | await expect(page.getByTestId('peek-view-modal')).toContainText('Test Page');
41 |
42 | // can use 'esc' to close peek view
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:39:53
|
tests/affine-local/e2e/peek-view.spec.ts#L39
1) peek-view.spec.ts:20:5 › can open peek view via link popover ──────────────────────────────────
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')
37 |
38 | // verify peek view is opened
> 39 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
40 | await expect(page.getByTestId('peek-view-modal')).toContainText('Test Page');
41 |
42 | // can use 'esc' to close peek view
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:39:53
|
tests/affine-local/e2e/peek-view.spec.ts#L86
2) peek-view.spec.ts:62:5 › can open peek view via db+click link card ────────────────────────────
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')
84 |
85 | // verify peek view is opened
> 86 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
87 | await expect(page.getByTestId('peek-view-modal')).toContainText('Test Page');
88 |
89 | // verify peek view can be closed by clicking close button
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:86:53
|
tests/affine-local/e2e/peek-view.spec.ts#L86
2) peek-view.spec.ts:62:5 › can open peek view via db+click link card ────────────────────────────
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')
84 |
85 | // verify peek view is opened
> 86 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
87 | await expect(page.getByTestId('peek-view-modal')).toContainText('Test Page');
88 |
89 | // verify peek view can be closed by clicking close button
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:86:53
|
tests/affine-local/e2e/peek-view.spec.ts#L86
2) peek-view.spec.ts:62:5 › can open peek view via db+click link card ────────────────────────────
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')
84 |
85 | // verify peek view is opened
> 86 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
87 | await expect(page.getByTestId('peek-view-modal')).toContainText('Test Page');
88 |
89 | // verify peek view can be closed by clicking close button
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:86:53
|
tests/affine-local/e2e/peek-view.spec.ts#L86
2) peek-view.spec.ts:62:5 › can open peek view via db+click link card ────────────────────────────
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')
84 |
85 | // verify peek view is opened
> 86 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
87 | await expect(page.getByTestId('peek-view-modal')).toContainText('Test Page');
88 |
89 | // verify peek view can be closed by clicking close button
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:86:53
|
tests/affine-local/e2e/peek-view.spec.ts#L152
3) peek-view.spec.ts:112:5 › can open peek view for embedded frames ──────────────────────────────
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')
150 |
151 | // verify peek view is opened
> 152 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
153 |
154 | // check if page is in edgeless mode
155 | await expect(
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:152:53
|
tests/affine-local/e2e/peek-view.spec.ts#L152
3) peek-view.spec.ts:112:5 › can open peek view for embedded frames ──────────────────────────────
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')
150 |
151 | // verify peek view is opened
> 152 | await expect(page.getByTestId('peek-view-modal')).toBeVisible();
| ^
153 |
154 | // check if page is in edgeless mode
155 | await expect(
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/peek-view.spec.ts:152:53
|
tests/affine-local/local-first-show-delete-modal.spec.ts#L1
tests/affine-local/local-first-show-delete-modal.spec.ts took 52.7s
|
tests/affine-local/local-first-restore-page.spec.ts#L1
tests/affine-local/local-first-restore-page.spec.ts took 42.9s
|
tests/affine-local/quick-search.spec.ts#L1
tests/affine-local/quick-search.spec.ts took 28.4s
|
tests/affine-local/open-affine.spec.ts#L1
tests/affine-local/open-affine.spec.ts took 22.9s
|
3 failed
peek-view.spec.ts:20:5 › can open peek view via link popover ───────────────────────────────────
peek-view.spec.ts:62:5 › can open peek view via db+click link card ─────────────────────────────
peek-view.spec.ts:112:5 › can open peek view for embedded frames ───────────────────────────────
1 flaky
navigation.spec.ts:19:5 › back and forward buttons ─────────────────────────────────────────────
2 skipped
25 passed (5.3m)
|
This job failed
Loading