chore: improve pdf preview #17248
Annotations
8 errors, 1 warning, and 1 notice
tests/affine-mobile/e2e/detail.spec.ts#L4
1) [Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ──────────────────────────
Test timeout of 60000ms exceeded while running "beforeEach" hook.
2 | import { expect } from '@playwright/test';
3 |
> 4 | test.beforeEach(async ({ page }) => {
| ^
5 | const docsTab = page.locator('#app-tabs').getByRole('tab', { name: 'all' });
6 | await expect(docsTab).toBeVisible();
7 | await docsTab.click();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:4:6
|
tests/kit/mobile.ts#L21
1) [Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ──────────────────────────
Error: page.goto: Test timeout of 60000ms exceeded.
Call log:
- navigating to "http://localhost:8080/", waiting until "load"
at ../../kit/mobile.ts:21
19 | timeout: 30 * 1000,
20 | });
> 21 | await page.goto('/');
| ^
22 | await use(page);
23 | },
24 | });
at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:21:16)
|
tests/affine-mobile/e2e/detail.spec.ts#L1
1) [Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ──────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/affine-mobile/e2e/detail.spec.ts#L14
1) [Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ──────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" 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
|
tests/affine-mobile/e2e/detail.spec.ts#L4
2) [Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ───────────────────────────────────
Test timeout of 60000ms exceeded while running "beforeEach" hook.
2 | import { expect } from '@playwright/test';
3 |
> 4 | test.beforeEach(async ({ page }) => {
| ^
5 | const docsTab = page.locator('#app-tabs').getByRole('tab', { name: 'all' });
6 | await expect(docsTab).toBeVisible();
7 | await docsTab.click();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:4:6
|
tests/kit/mobile.ts#L21
2) [Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ───────────────────────────────────
Error: page.goto: Test timeout of 60000ms exceeded.
Call log:
- navigating to "http://localhost:8080/", waiting until "load"
at ../../kit/mobile.ts:21
19 | timeout: 30 * 1000,
20 | });
> 21 | await page.goto('/');
| ^
22 | await use(page);
23 | },
24 | });
at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:21:16)
|
tests/affine-mobile/e2e/detail.spec.ts#L1
2) [Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ───────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/affine-mobile/e2e/detail.spec.ts#L19
2) [Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ───────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" class="styles_modalContent__k7p09rd styles_mobileMenuModal__1gulbsj0">…</div>
- unexpected value "hidden"
- locator resolved to <div role="dialog" tabindex="-1" id="radix-:rv:" data-state="open" aria-labelledby="radix-:r10:" 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
|
tests/affine-mobile/[Mobile Safari] › explorer-favorite.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › explorer-favorite.spec.ts took 41.6s
|
|
This job succeeded
Loading