Skip to content

fix: potential issue that may push whole window up a bit (#4311) #2

fix: potential issue that may push whole window up a bit (#4311)

fix: potential issue that may push whole window up a bit (#4311) #2

Triggered via push September 12, 2023 11:04
Status Success
Total duration 13m 8s
Artifacts 1

build.yml

on: push
Build Prototype
5m 55s
Build Prototype
Matrix: E2E Migration Test
Matrix: E2E Test
E2E Prototype Test
1m 49s
E2E Prototype Test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 notices
basic.spec.ts:16:5 › database migration: tests/affine-legacy/0.8.0-canary.7/e2e/basic.spec.ts#L1
1) basic.spec.ts:16:5 › database migration ─────────────────────────────────────────────────────── Test timeout of 50000ms exceeded.
basic.spec.ts:16:5 › database migration: tests/kit/utils/page-logic.ts#L5
1) basic.spec.ts:16:5 › database migration ─────────────────────────────────────────────────────── Error: page.waitForSelector: Page closed =========================== logs =========================== waiting for locator('v-line') to be visible ============================================================ at ../../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 10000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-legacy/0.8.0-canary.7/e2e/basic.spec.ts:40:26
basic.spec.ts:16:5 › database migration: tests/affine-legacy/0.8.0-canary.7/e2e/basic.spec.ts#L1
1) basic.spec.ts:16:5 › database migration ─────────────────────────────────────────────────────── Pending operations: - page.waitForSelector at ../../kit/utils/page-logic.ts:5:14
basic.spec.ts:19:5 › init page: tests/affine-legacy/0.7.0-canary.18/e2e/basic.spec.ts#L1
1) basic.spec.ts:19:5 › init page ──────────────────────────────────────────────────────────────── Test timeout of 50000ms exceeded.
basic.spec.ts:19:5 › init page: tests/kit/utils/page-logic.ts#L5
1) basic.spec.ts:19:5 › init page ──────────────────────────────────────────────────────────────── Error: page.waitForSelector: Target page, context or browser has been closed at ../../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 10000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-legacy/0.7.0-canary.18/e2e/basic.spec.ts:30:26
basic.spec.ts:19:5 › init page: tests/affine-legacy/0.7.0-canary.18/e2e/basic.spec.ts#L1
1) basic.spec.ts:19:5 › init page ──────────────────────────────────────────────────────────────── Pending operations: - page.goto at e2e/basic.spec.ts:29:14
local-first-delete-page.spec.ts:10:5 › page delete -> refresh page -> it should be disappear: tests/affine-local/e2e/local-first-delete-page.spec.ts#L45
1) local-first-delete-page.spec.ts:10:5 › page delete -> refresh page -> it should be disappear ── TimeoutError: locator.click: Timeout 5000ms exceeded. =========================== logs =========================== waiting for getByTestId('all-pages') ============================================================ 43 | await page.reload(); 44 | expect(page.getByText("There's no page here yet")).not.toBeUndefined(); > 45 | await page.getByTestId('all-pages').click(); | ^ 46 | await page.reload(); 47 | 48 | const currentWorkspace = await workspace.current(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-delete-page.spec.ts:45:39
local-first-delete-page.spec.ts:53:5 › page delete -> create new page -> refresh page -> new page should be appear -> old page should be disappear: tests/affine-local/e2e/local-first-delete-page.spec.ts#L88
2) local-first-delete-page.spec.ts:53:5 › page delete -> create new page -> refresh page -> new page should be appear -> old page should be disappear TimeoutError: locator.click: Timeout 5000ms exceeded. =========================== logs =========================== waiting for getByTestId('all-pages') ============================================================ 86 | await page.reload(); 87 | expect(page.getByText("There's no page here yet")).not.toBeUndefined(); > 88 | await page.getByTestId('all-pages').click(); | ^ 89 | 90 | await clickNewPageButton(page); 91 | await getBlockSuiteEditorTitle(page).click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-delete-page.spec.ts:88:39
all-page.spec.ts:118:5 › creation of filters by created time: tests/kit/utils/page-logic.ts#L12
1) all-page.spec.ts:118:5 › creation of filters by created time, then click date picker to modify the date TimeoutError: page.waitForSelector: Timeout 1000ms exceeded. =========================== logs =========================== waiting for locator('[data-testid="create-first-filter"]') to be visible ============================================================ at ../../kit/utils/page-logic.ts:12 10 | export async function waitForAllPagesLoad(page: Page) { 11 | // if filters tag is rendered, we believe all_pages is ready > 12 | await page.waitForSelector('[data-testid="create-first-filter"]', { | ^ 13 | timeout: 1000, 14 | }); 15 | } at waitForAllPagesLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:12:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:125:28
quick-search.spec.ts:105:5 › Create a new page and search this page: tests/affine-local/e2e/quick-search.spec.ts#L1
1) quick-search.spec.ts:105:5 › Create a new page and search this page ─────────────────────────── Test timeout of 50000ms exceeded.
quick-search.spec.ts:105:5 › Create a new page and search this page: tests/kit/utils/page-logic.ts#L5
1) quick-search.spec.ts:105:5 › Create a new page and search this page ─────────────────────────── Error: page.waitForSelector: Page closed =========================== logs =========================== waiting for locator('v-line') to be visible ============================================================ at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 10000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:127:26
quick-search.spec.ts:105:5 › Create a new page and search this page: tests/affine-local/e2e/quick-search.spec.ts#L1
1) quick-search.spec.ts:105:5 › Create a new page and search this page ─────────────────────────── Pending operations: - page.waitForSelector at ../kit/utils/page-logic.ts:5:14
🎭 Playwright Run Summary
2 passed (37.0s)
🎭 Playwright Run Summary
1 passed (45.3s)
🎭 Playwright Run Summary
1 passed (1.2s)
🎭 Playwright Run Summary
1 flaky basic.spec.ts:16:5 › database migration ────────────────────────────────────────────────────────
🎭 Playwright Run Summary
1 flaky basic.spec.ts:19:5 › init page ─────────────────────────────────────────────────────────────────
🎭 Playwright Run Summary
2 flaky local-first-delete-page.spec.ts:10:5 › page delete -> refresh page -> it should be disappear ─── local-first-delete-page.spec.ts:53:5 › page delete -> create new page -> refresh page -> new page should be appear -> old page should be disappear 3 skipped 16 passed (3.8m)
🎭 Playwright Run Summary
1 flaky all-page.spec.ts:118:5 › creation of filters by created time, then click date picker to modify the date 20 passed (3.5m)
🎭 Playwright Run Summary
1 skipped 20 passed (3.6m)
🎭 Playwright Run Summary
21 passed (4.2m)
🎭 Playwright Run Summary
1 flaky quick-search.spec.ts:105:5 › Create a new page and search this page ──────────────────────────── 20 passed (4.3m)

Artifacts

Produced during runtime
Name Size
prototype Expired
2.58 MB