feat: allow peek view to be closed by the caller && bump bs #16826
Annotations
5 errors, 1 warning, and 1 notice
tests/affine-cloud/e2e/share-page.spec.ts#L255
1) share-page.spec.ts:222:5 › image preview should be shown ──────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('image-preview-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('image-preview-modal')
253 | await page.locator('affine-page-image').first().dblclick();
254 | const locator = page.getByTestId('image-preview-modal');
> 255 | await expect(locator).toBeVisible();
| ^
256 | await page.getByTestId('image-preview-close-button').first().click();
257 | await page.waitForTimeout(500);
258 | await expect(locator).not.toBeVisible();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/share-page.spec.ts:255:27
|
tests/affine-cloud/e2e/share-page.spec.ts#L255
1) share-page.spec.ts:222:5 › image preview should be shown ──────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('image-preview-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('image-preview-modal')
253 | await page.locator('affine-page-image').first().dblclick();
254 | const locator = page.getByTestId('image-preview-modal');
> 255 | await expect(locator).toBeVisible();
| ^
256 | await page.getByTestId('image-preview-close-button').first().click();
257 | await page.waitForTimeout(500);
258 | await expect(locator).not.toBeVisible();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/share-page.spec.ts:255:27
|
tests/affine-cloud/e2e/share-page.spec.ts#L255
1) share-page.spec.ts:222:5 › image preview should be shown ──────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('image-preview-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('image-preview-modal')
253 | await page.locator('affine-page-image').first().dblclick();
254 | const locator = page.getByTestId('image-preview-modal');
> 255 | await expect(locator).toBeVisible();
| ^
256 | await page.getByTestId('image-preview-close-button').first().click();
257 | await page.waitForTimeout(500);
258 | await expect(locator).not.toBeVisible();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/share-page.spec.ts:255:27
|
tests/affine-cloud/e2e/share-page.spec.ts#L255
1) share-page.spec.ts:222:5 › image preview should be shown ──────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('image-preview-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('image-preview-modal')
253 | await page.locator('affine-page-image').first().dblclick();
254 | const locator = page.getByTestId('image-preview-modal');
> 255 | await expect(locator).toBeVisible();
| ^
256 | await page.getByTestId('image-preview-close-button').first().click();
257 | await page.waitForTimeout(500);
258 | await expect(locator).not.toBeVisible();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/share-page.spec.ts:255:27
|
|
tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 1.3m
|
|
This job failed
Loading