feat(core): pdf preview #17751
Annotations
4 errors, 1 warning, and 1 notice
Run playwright tests:
tests/affine-mobile/e2e/detail.spec.ts#L1
1) [Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ──────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/detail.spec.ts#L14
1) [Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ──────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByRole('dialog')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog')
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
12 | test('can open page view more menu', async ({ page }) => {
13 | await page.click('[data-testid="detail-page-header-more-button"]');
> 14 | await expect(page.getByRole('dialog')).toBeVisible();
| ^
15 | });
16 |
17 | test('switch to page mode', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:14:42
|
Run playwright tests:
tests/affine-mobile/e2e/detail.spec.ts#L1
2) [Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ───────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/detail.spec.ts#L19
2) [Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ───────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByRole('dialog')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog')
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rt:" data-state="open" aria-labelledby="radix-:ru:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
17 | test('switch to page mode', async ({ page }) => {
18 | await page.click('[data-testid="detail-page-header-more-button"]');
> 19 | await expect(page.getByRole('dialog')).toBeVisible();
| ^
20 |
21 | await page.getByRole('menuitem', { name: 'Default to Page mode' }).click();
22 | await expect(page.locator('.doc-title-container')).toBeVisible();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:19:42
|
Run playwright tests:
tests/affine-mobile/[Mobile Safari] › explorer-favorite.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › explorer-favorite.spec.ts took 17.8s
|
Run playwright tests
2 flaky
[Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ───────────────────────────
[Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ────────────────────────────────────
4 passed (2.6m)
|
Loading