feat(server): doc level permission #23859
Annotations
4 errors, 2 warnings, and 1 notice
Run playwright tests:
tests/affine-mobile/e2e/detail.spec.ts#L17
1) [Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu ──────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-edgeless-viewport')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('.affine-edgeless-viewport')
15 | await docsTab.click();
16 | await page.getByTestId('doc-card').first().click();
> 17 | await expect(page.locator('.affine-edgeless-viewport')).toBeVisible();
| ^
18 | });
19 |
20 | test('can open page view more menu', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:17:59
|
Run playwright tests:
tests/affine-mobile/e2e/detail.spec.ts#L17
1) [Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu ──────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-edgeless-viewport')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('.affine-edgeless-viewport')
15 | await docsTab.click();
16 | await page.getByTestId('doc-card').first().click();
> 17 | await expect(page.locator('.affine-edgeless-viewport')).toBeVisible();
| ^
18 | });
19 |
20 | test('can open page view more menu', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:17:59
|
Run playwright tests:
tests/affine-mobile/e2e/explorer-folder.spec.ts#L1
2) [Mobile Safari] › explorer-folder.spec.ts:54:1 › create a sub folder ──────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/utils.ts#L6
2) [Mobile Safari] › explorer-folder.spec.ts:54:1 › create a sub folder ──────────────────────────
Error: locator.getAttribute: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('[data-collapsible]:has-text("organize")')
at utils.ts:6
4 | export async function expandCollapsibleSection(page: Page, name: string) {
5 | const divider = page.locator(`[data-collapsible]:has-text("${name}")`);
> 6 | if ((await divider.getAttribute('data-collapsed')) === 'true') {
| ^
7 | await divider.click();
8 | }
9 | await expect(divider).toHaveAttribute('data-collapsed', 'false');
at expandCollapsibleSection (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:6:22)
at createRootFolder (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:23:25)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:55:24
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright tests:
tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts took 42.3s
|
Run playwright tests
2 flaky
[Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu ───────────────────────────
[Mobile Safari] › explorer-folder.spec.ts:54:1 › create a sub folder ───────────────────────────
6 passed (3.0m)
|
Loading