refactor(core): move infra modules to core #20415
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-IKiQKed0RC8_RIZqvPGI2').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-IKiQKed0RC8_RIZqvPGI2').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-CgXcgPnisMsZxR5ZbwndG').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-CgXcgPnisMsZxR5ZbwndG').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-fe7Ofp2iEBW2sMqVKBnFj').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-fe7Ofp2iEBW2sMqVKBnFj').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-qX5WaPmAcRlxbR9ptH5T-').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-qX5WaPmAcRlxbR9ptH5T-').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-0-szdnTWI1s6tNnvzqwRk').getByTestId('explorer-doc-WJgYv-uHL9exzzk_voAWU')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('explorer-doc-0-szdnTWI1s6tNnvzqwRk').getByTestId('explorer-doc-WJgYv-uHL9exzzk_voAWU')
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-2wl4OCu2ajAFTKO6hUNcr').getByTestId('explorer-doc-cu97Opute0d8L3d9Kcf97')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('explorer-doc-2wl4OCu2ajAFTKO6hUNcr').getByTestId('explorer-doc-cu97Opute0d8L3d9Kcf97')
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.4m)
|
Loading