feat(server): doc level permission #23859
Annotations
6 errors, 3 warnings, and 1 notice
Run playwright tests:
tests/affine-local/e2e/image-preview.spec.ts#L57
1) image-preview.spec.ts:35:1 › image go left and right ──────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('doc-title .inline-editor').first()
- locator resolved to <div data-v-root="true" contenteditable="true" class=" inline-editor ">…</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
9 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
55 | {
56 | const title = getBlockSuiteEditorTitle(page);
> 57 | await title.click();
| ^
58 | await page.keyboard.press('Enter');
59 | await importImage(page, 'affine-preview.png');
60 | }
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/image-preview.spec.ts:57:17
|
Run playwright tests:
tests/affine-local/e2e/image-preview.spec.ts#L208
2) image-preview.spec.ts:186:1 › image should able to go left and right by buttons ───────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('doc-title .inline-editor').first()
- locator resolved to <div data-v-root="true" contenteditable="true" class=" inline-editor ">…</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
10 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
206 | {
207 | const title = getBlockSuiteEditorTitle(page);
> 208 | await title.click();
| ^
209 | await page.keyboard.press('Enter');
210 | await importImage(page, 'affine-preview.png');
211 | }
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/image-preview.spec.ts:208:17
|
Run playwright tests:
tests/affine-local/e2e/image-preview.spec.ts#L208
2) image-preview.spec.ts:186:1 › image should able to go left and right by buttons ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('doc-title .inline-editor').first()
- locator resolved to <div data-v-root="true" contenteditable="true" class=" inline-editor ">…</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
9 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
206 | {
207 | const title = getBlockSuiteEditorTitle(page);
> 208 | await title.click();
| ^
209 | await page.keyboard.press('Enter');
210 | await importImage(page, 'affine-preview.png');
211 | }
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/image-preview.spec.ts:208:17
|
Run playwright tests:
tests/affine-local/e2e/image-preview.spec.ts#L208
2) image-preview.spec.ts:186:1 › image should able to go left and right by buttons ───────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('doc-title .inline-editor').first()
- locator resolved to <div data-v-root="true" contenteditable="true" class=" inline-editor ">…</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
10 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
206 | {
207 | const title = getBlockSuiteEditorTitle(page);
> 208 | await title.click();
| ^
209 | await page.keyboard.press('Enter');
210 | await importImage(page, 'affine-preview.png');
211 | }
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/image-preview.spec.ts:208:17
|
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L316
3) links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-embed-linked-doc-block')
- locator resolved to <affine-embed-linked-doc-block contenteditable="false" data-block-id="BWhzNHMPso" data-drop-target-for-element="true">…</affine-embed-linked-doc-block>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
9 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
314 |
315 | await expect(cardLink).toBeVisible();
> 316 | await cardLink.click();
| ^
317 |
318 | // refocus
319 | await cardLink.click();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:316:18
|
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L610
4) links.spec.ts:568:1 › should show edgeless content when switching card view of linked mode doc in edgeless
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByLabel('Switch view')
608 | .waitFor({ state: 'visible' });
609 | await page.mouse.click(x - 50, y - 50);
> 610 | await page.getByLabel('Switch view').click();
| ^
611 | await page.getByTestId('link-to-embed').click();
612 |
613 | const viewport = await page
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:610:40
|
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-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 39.4s
|
Run playwright tests:
tests/affine-local/drag-page.spec.ts#L1
tests/affine-local/drag-page.spec.ts took 39.0s
|
Run playwright tests
4 flaky
image-preview.spec.ts:35:1 › image go left and right ───────────────────────────────────────────
image-preview.spec.ts:186:1 › image should able to go left and right by buttons ────────────────
links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode
links.spec.ts:568:1 › should show edgeless content when switching card view of linked mode doc in edgeless
44 passed (5.1m)
|
Loading