feat: pdf viewer supports fit to page #18534
Annotations
3 errors, 1 warning, and 1 notice
Run playwright tests:
tests/affine-mobile/e2e/explorer-folder.spec.ts#L19
1) [Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "rename-input"
Received: null
17 | const isRenameInputFocused = async (page: Page) => {
18 | const focusElTestid = await getAttrOfActiveElement(page);
> 19 | expect(focusElTestid).toEqual('rename-input');
| ^
20 | };
21 |
22 | const createRootFolder = async (page: Page, name: string) => {
at isRenameInputFocused (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:19:25)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:69:3
|
Run playwright tests:
tests/affine-mobile/e2e/explorer-tag.spec.ts#L67
2) [Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer ──────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "rename-input"
Received: null
65 | await menu.getByTestId('rename-tag').tap();
66 | const focusedTestid = await getAttrOfActiveElement(page);
> 67 | expect(focusedTestid).toEqual('rename-input');
| ^
68 | await page.keyboard.type(appendedName);
69 | await menu.getByTestId('rename-confirm').tap();
70 | await expect(tag).not.toBeVisible();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:67:25
|
Run playwright tests:
tests/affine-mobile/e2e/explorer-tag.spec.ts#L41
3) [Mobile Safari] › explorer-tag.spec.ts:75:5 › change tag color from explorer ──────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "rename-input"
Received: null
39 | // input name
40 | const focusedTestid = await getAttrOfActiveElement(page);
> 41 | expect(focusedTestid).toEqual('rename-input');
| ^
42 | await page.keyboard.type(name);
43 | // set color
44 | await changeTagColor(dialog, color);
at createRootTag (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:41:25)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:78:15
|
Run playwright tests:
tests/affine-mobile/[Mobile Safari] › home.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › home.spec.ts took 24.2s
|
Run playwright tests
3 flaky
[Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ─────────────────
[Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer ───────────────────────
[Mobile Safari] › explorer-tag.spec.ts:75:5 › change tag color from explorer ───────────────────
3 passed (2.0m)
|
Loading