refactor(core): move infra modules to core #20419
Annotations
10 errors, 1 warning, and 1 notice
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L466
1) links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ─────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'source page' })
464 | .click();
465 |
> 466 | await page.getByRole('button', { name: 'source page' }).click();
| ^
467 |
468 | await expect(page.locator('text-renderer')).toContainText(
469 | 'some inline content'
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:466:59
|
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L466
1) links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'source page' })
464 | .click();
465 |
> 466 | await page.getByRole('button', { name: 'source page' }).click();
| ^
467 |
468 | await expect(page.locator('text-renderer')).toContainText(
469 | 'some inline content'
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:466:59
|
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L466
1) links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ─────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'source page' })
464 | .click();
465 |
> 466 | await page.getByRole('button', { name: 'source page' }).click();
| ^
467 |
468 | await expect(page.locator('text-renderer')).toContainText(
469 | 'some inline content'
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:466:59
|
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L466
1) links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ─────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'source page' })
464 | .click();
465 |
> 466 | await page.getByRole('button', { name: 'source page' }).click();
| ^
467 |
468 | await expect(page.locator('text-renderer')).toContainText(
469 | 'some inline content'
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:466:59
|
Run playwright tests:
tests/affine-local/e2e/local-first-favorites-items.spec.ts#L78
2) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ─────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('explorer-doc-GhVvIodfy2yDMcUB71wyC').locator('[data-testid^="explorer-doc-"]:has-text("Another page")')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('explorer-doc-GhVvIodfy2yDMcUB71wyC').locator('[data-testid^="explorer-doc-"]:has-text("Another page")')
76 | '[data-testid^="explorer-doc-"]:has-text("Another page")'
77 | )
> 78 | ).toBeVisible();
| ^
79 | const currentWorkspace = await workspace.current();
80 |
81 | expect(currentWorkspace.meta.flavour).toContain('local');
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:78:5
|
Run playwright tests:
tests/affine-local/e2e/local-first-favorites-items.spec.ts#L78
2) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('explorer-doc-h3fq0-EwqRMTa5GHAGbW2').locator('[data-testid^="explorer-doc-"]:has-text("Another page")')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('explorer-doc-h3fq0-EwqRMTa5GHAGbW2').locator('[data-testid^="explorer-doc-"]:has-text("Another page")')
76 | '[data-testid^="explorer-doc-"]:has-text("Another page")'
77 | )
> 78 | ).toBeVisible();
| ^
79 | const currentWorkspace = await workspace.current();
80 |
81 | expect(currentWorkspace.meta.flavour).toContain('local');
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:78:5
|
Run playwright tests:
tests/affine-local/e2e/local-first-favorites-items.spec.ts#L78
2) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ─────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('explorer-doc-nS1aW_DW2ItIfAKJIxOAx').locator('[data-testid^="explorer-doc-"]:has-text("Another page")')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('explorer-doc-nS1aW_DW2ItIfAKJIxOAx').locator('[data-testid^="explorer-doc-"]:has-text("Another page")')
76 | '[data-testid^="explorer-doc-"]:has-text("Another page")'
77 | )
> 78 | ).toBeVisible();
| ^
79 | const currentWorkspace = await workspace.current();
80 |
81 | expect(currentWorkspace.meta.flavour).toContain('local');
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:78:5
|
Run playwright tests:
tests/affine-local/e2e/local-first-favorites-items.spec.ts#L78
2) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ─────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('explorer-doc-_4kaX2Z0EYr2LjUCHzBXJ').locator('[data-testid^="explorer-doc-"]:has-text("Another page")')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('explorer-doc-_4kaX2Z0EYr2LjUCHzBXJ').locator('[data-testid^="explorer-doc-"]:has-text("Another page")')
76 | '[data-testid^="explorer-doc-"]:has-text("Another page")'
77 | )
> 78 | ).toBeVisible();
| ^
79 | const currentWorkspace = await workspace.current();
80 |
81 | expect(currentWorkspace.meta.flavour).toContain('local');
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:78:5
|
Run playwright tests:
tests/affine-local/e2e/local-first-favorites-items.spec.ts#L129
3) local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('explorer-doc-GdpyaMbw5WwpDsLVMUEB3').getByTestId('explorer-doc-1N5ThwF2YwyMnIvqWi5Ff')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('explorer-doc-GdpyaMbw5WwpDsLVMUEB3').getByTestId('explorer-doc-1N5ThwF2YwyMnIvqWi5Ff')
127 | await expect(
128 | page.getByTestId(favItemTestId).getByTestId(favItemAnotherPageTestId)
> 129 | ).toBeVisible();
| ^
130 |
131 | // delete the page
132 | await clickPageMoreActions(page);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:129:5
|
Run playwright tests:
tests/affine-local/e2e/local-first-favorites-items.spec.ts#L129
3) local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('explorer-doc-VKivKqs2nW0sv-EgmliCR').getByTestId('explorer-doc-b9emUNiHPLOiayIsvV3wm')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('explorer-doc-VKivKqs2nW0sv-EgmliCR').getByTestId('explorer-doc-b9emUNiHPLOiayIsvV3wm')
127 | await expect(
128 | page.getByTestId(favItemTestId).getByTestId(favItemAnotherPageTestId)
> 129 | ).toBeVisible();
| ^
130 |
131 | // delete the page
132 | await clickPageMoreActions(page);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:129:5
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright tests
3 failed
links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ──────────
local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ──────────────────
local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar
1 flaky
links.spec.ts:249:5 › allow switching to embed view when linking to the other document with mode
2 skipped
30 passed (5.3m)
|
Loading