fix(electron): devtools open in detach mode (#8200) #3
Annotations
4 errors, 1 warning, and 1 notice
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.
|
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__3xld7hd styles_mobileMenuModal__rtv2vi0">…</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__3xld7hd styles_mobileMenuModal__rtv2vi0">…</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__3xld7hd styles_mobileMenuModal__rtv2vi0">…</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-Contribution/AFFiNE-Contribution/tests/affine-mobile/e2e/detail.spec.ts:14:42
|
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.
|
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__3xld7hd styles_mobileMenuModal__rtv2vi0">…</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__3xld7hd styles_mobileMenuModal__rtv2vi0">…</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: 'convert to page' }).click();
22 | await expect(page.locator('.doc-title-container')).toBeVisible();
at /home/runner/work/AFFiNE-Contribution/AFFiNE-Contribution/tests/affine-mobile/e2e/detail.spec.ts:19:42
|
tests/affine-mobile/[Mobile Safari] › home.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › home.spec.ts took 19.4s
|
|
This job succeeded
Loading