feat(core): add an entry for admin panel (#10813) #29475
Annotations
6 errors and 1 notice
tests/affine-local/e2e/links.spec.ts#L23
1) e2e/links.spec.ts:491:1 › linked doc should show markdown preview in the backlink section ─────
Test timeout of 50000ms exceeded while running "beforeEach" hook.
21 | import { expect, type Locator, type Page } from '@playwright/test';
22 |
> 23 | test.beforeEach(async ({ page }) => {
| ^
24 | await openHomePage(page);
25 | await clickNewPageButton(page);
26 | await waitForEmptyEditor(page);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:23:6
|
tests/kit/src/utils/page-logic.ts#L39
1) e2e/links.spec.ts:491:1 › linked doc should show markdown preview in the backlink section ─────
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('sidebar-new-page-button')
- locator resolved to <button data-size="custom" data-icon-size="20" data-mobile="false" data-state="closed" data-variant="custom" data-icon-variant="plain" data-testid="sidebar-new-page-button" class="button_button__ph3zqme button_iconButton__ph3zqmh add-page-button_root__18n7nrk0">…</button>
at ../../kit/src/utils/page-logic.ts:39
37 | export async function clickNewPageButton(page: Page, title?: string) {
38 | // fixme(himself65): if too fast, the page will crash
> 39 | await page.getByTestId('sidebar-new-page-button').click({
| ^
40 | delay: 100,
41 | });
42 | await waitForEmptyEditor(page);
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:39:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:25:9
|
tests/kit/src/utils/page-logic.ts#L39
1) e2e/links.spec.ts:491:1 › linked doc should show markdown preview in the backlink section ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByTestId('sidebar-new-page-button')
- locator resolved to <button data-size="custom" data-icon-size="20" data-mobile="false" data-state="closed" data-variant="custom" data-icon-variant="plain" data-testid="sidebar-new-page-button" class="button_button__ph3zqme button_iconButton__ph3zqmh add-page-button_root__18n7nrk0">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at ../../kit/src/utils/page-logic.ts:39
37 | export async function clickNewPageButton(page: Page, title?: string) {
38 | // fixme(himself65): if too fast, the page will crash
> 39 | await page.getByTestId('sidebar-new-page-button').click({
| ^
40 | delay: 100,
41 | });
42 | await waitForEmptyEditor(page);
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:39:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:25:9
|
tests/affine-local/e2e/links.spec.ts#L23
2) e2e/links.spec.ts:519:1 › the viewport should be fit when the linked document is with edgeless mode
Test timeout of 50000ms exceeded while running "beforeEach" hook.
21 | import { expect, type Locator, type Page } from '@playwright/test';
22 |
> 23 | test.beforeEach(async ({ page }) => {
| ^
24 | await openHomePage(page);
25 | await clickNewPageButton(page);
26 | await waitForEmptyEditor(page);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:23:6
|
tests/kit/src/utils/page-logic.ts#L39
2) e2e/links.spec.ts:519:1 › the viewport should be fit when the linked document is with edgeless mode
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('sidebar-new-page-button')
- locator resolved to <button data-size="custom" data-icon-size="20" data-mobile="false" data-state="closed" data-variant="custom" data-icon-variant="plain" data-testid="sidebar-new-page-button" class="button_button__ph3zqme button_iconButton__ph3zqmh add-page-button_root__18n7nrk0">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
at ../../kit/src/utils/page-logic.ts:39
37 | export async function clickNewPageButton(page: Page, title?: string) {
38 | // fixme(himself65): if too fast, the page will crash
> 39 | await page.getByTestId('sidebar-new-page-button').click({
| ^
40 | delay: 100,
41 | });
42 | await waitForEmptyEditor(page);
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:39:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:25:9
|
tests/kit/src/utils/page-logic.ts#L39
2) e2e/links.spec.ts:519:1 › the viewport should be fit when the linked document is with edgeless mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByTestId('sidebar-new-page-button')
- locator resolved to <button data-size="custom" data-icon-size="20" data-mobile="false" data-state="closed" data-variant="custom" data-icon-variant="plain" data-testid="sidebar-new-page-button" class="button_button__ph3zqme button_iconButton__ph3zqmh add-page-button_root__18n7nrk0">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at ../../kit/src/utils/page-logic.ts:39
37 | export async function clickNewPageButton(page: Page, title?: string) {
38 | // fixme(himself65): if too fast, the page will crash
> 39 | await page.getByTestId('sidebar-new-page-button').click({
| ^
40 | delay: 100,
41 | });
42 | await waitForEmptyEditor(page);
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:39:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:25:9
|
|
The logs for this run have expired and are no longer available.
Loading