feat(core): at menu journal entries #18633
Annotations
10 errors and 1 notice
Run playwright tests:
tests/affine-migration/e2e/basic.spec.ts#L42
1) basic.spec.ts:33:5 › v1 to v4 ─────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByTestId('page-list-item')
Expected: 2
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByTestId('page-list-item')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
40 | await page.getByTestId('upgrade-workspace-button').click();
41 |
> 42 | await expect(page.getByTestId('page-list-item')).toHaveCount(2);
| ^
43 | await page
44 | .getByTestId('page-list-item-title-text')
45 | .getByText('hello')
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:42:52
|
Run playwright tests:
tests/affine-migration/e2e/basic.spec.ts#L42
1) basic.spec.ts:33:5 › v1 to v4 ─────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByTestId('page-list-item')
Expected: 2
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByTestId('page-list-item')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
40 | await page.getByTestId('upgrade-workspace-button').click();
41 |
> 42 | await expect(page.getByTestId('page-list-item')).toHaveCount(2);
| ^
43 | await page
44 | .getByTestId('page-list-item-title-text')
45 | .getByText('hello')
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:42:52
|
Run playwright tests:
tests/affine-migration/e2e/basic.spec.ts#L42
1) basic.spec.ts:33:5 › v1 to v4 ─────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByTestId('page-list-item')
Expected: 2
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByTestId('page-list-item')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
40 | await page.getByTestId('upgrade-workspace-button').click();
41 |
> 42 | await expect(page.getByTestId('page-list-item')).toHaveCount(2);
| ^
43 | await page
44 | .getByTestId('page-list-item-title-text')
45 | .getByText('hello')
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:42:52
|
Run playwright tests:
tests/affine-migration/e2e/basic.spec.ts#L42
1) basic.spec.ts:33:5 › v1 to v4 ─────────────────────────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByTestId('page-list-item')
Expected: 2
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByTestId('page-list-item')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
40 | await page.getByTestId('upgrade-workspace-button').click();
41 |
> 42 | await expect(page.getByTestId('page-list-item')).toHaveCount(2);
| ^
43 | await page
44 | .getByTestId('page-list-item-title-text')
45 | .getByText('hello')
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:42:52
|
Run playwright tests:
tests/affine-migration/e2e/basic.spec.ts#L65
2) basic.spec.ts:52:5 › v2 to v4, database migration ─────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('v-line').first()
Expected string: "hello"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('v-line').first()
63 |
64 | // check page mode is correct
> 65 | await expect(page.locator('v-line').nth(0)).toHaveText('hello');
| ^
66 | await expect(page.locator('affine-database')).toBeVisible();
67 |
68 | // check edgeless mode is correct
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:65:47
|
Run playwright tests:
tests/affine-migration/e2e/basic.spec.ts#L65
2) basic.spec.ts:52:5 › v2 to v4, database migration ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('v-line').first()
Expected string: "hello"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('v-line').first()
63 |
64 | // check page mode is correct
> 65 | await expect(page.locator('v-line').nth(0)).toHaveText('hello');
| ^
66 | await expect(page.locator('affine-database')).toBeVisible();
67 |
68 | // check edgeless mode is correct
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:65:47
|
Run playwright tests:
tests/affine-migration/e2e/basic.spec.ts#L65
2) basic.spec.ts:52:5 › v2 to v4, database migration ─────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('v-line').first()
Expected string: "hello"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('v-line').first()
63 |
64 | // check page mode is correct
> 65 | await expect(page.locator('v-line').nth(0)).toHaveText('hello');
| ^
66 | await expect(page.locator('affine-database')).toBeVisible();
67 |
68 | // check edgeless mode is correct
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:65:47
|
Run playwright tests:
tests/affine-migration/e2e/basic.spec.ts#L65
2) basic.spec.ts:52:5 › v2 to v4, database migration ─────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('v-line').first()
Expected string: "hello"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('v-line').first()
63 |
64 | // check page mode is correct
> 65 | await expect(page.locator('v-line').nth(0)).toHaveText('hello');
| ^
66 | await expect(page.locator('affine-database')).toBeVisible();
67 |
68 | // check edgeless mode is correct
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:65:47
|
Run playwright tests:
tests/kit/utils/page-logic.ts#L23
3) basic.spec.ts:73:5 › v3 to v4, surface migration ──────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('v-line') to be visible
at ../../kit/utils/page-logic.ts:23
21 |
22 | export async function waitForEditorLoad(page: Page) {
> 23 | await page.waitForSelector('v-line', {
| ^
24 | timeout: 20000,
25 | });
26 | }
at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:23:14)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:81:26
|
Run playwright tests:
tests/kit/utils/page-logic.ts#L23
3) basic.spec.ts:73:5 › v3 to v4, surface migration ──────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('v-line') to be visible
at ../../kit/utils/page-logic.ts:23
21 |
22 | export async function waitForEditorLoad(page: Page) {
> 23 | await page.waitForSelector('v-line', {
| ^
24 | timeout: 20000,
25 | });
26 | }
at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:23:14)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:81:26
|
Run playwright tests
4 failed
basic.spec.ts:33:5 › v1 to v4 ──────────────────────────────────────────────────────────────────
basic.spec.ts:52:5 › v2 to v4, database migration ──────────────────────────────────────────────
basic.spec.ts:73:5 › v3 to v4, surface migration ───────────────────────────────────────────────
basic.spec.ts:91:5 › v0 to v4, subdoc migration ────────────────────────────────────────────────
|
Loading