test ci #428
Annotations
4 errors and 1 notice
Run tests:
packages/playground/use-theme-doc/__tests__/hmr.spec.ts#L126
1) [use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:80:5 › hmr: edit md file content
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.vp-local-outline').getByRole('link', { name: 'Heading one', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.vp-local-outline').getByRole('link', { name: 'Heading one', exact: true })
- 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"
124 | await expect(headingBeforeEdit).toHaveCount(1)
125 | await expect(headingAfterEdit).toHaveCount(0)
> 126 | await expect(outlineLinkBeforeEdit).toHaveCount(1)
| ^
127 | await expect(outlineLinkAfterEdit).toHaveCount(0)
128 | await expect(counterStateText).toHaveText('Counter component: 1.')
129 | })
at /home/runner/work/vite-plugin-react-pages/vite-plugin-react-pages/packages/playground/use-theme-doc/__tests__/hmr.spec.ts:126:39
|
Run tests:
packages/playground/use-theme-doc/__tests__/hmr.spec.ts#L126
1) [use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:80:5 › hmr: edit md file content
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.vp-local-outline').getByRole('link', { name: 'Heading one', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.vp-local-outline').getByRole('link', { name: 'Heading one', exact: true })
- 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"
124 | await expect(headingBeforeEdit).toHaveCount(1)
125 | await expect(headingAfterEdit).toHaveCount(0)
> 126 | await expect(outlineLinkBeforeEdit).toHaveCount(1)
| ^
127 | await expect(outlineLinkAfterEdit).toHaveCount(0)
128 | await expect(counterStateText).toHaveText('Counter component: 1.')
129 | })
at /home/runner/work/vite-plugin-react-pages/vite-plugin-react-pages/packages/playground/use-theme-doc/__tests__/hmr.spec.ts:126:39
|
Run tests:
packages/playground/use-theme-doc/__tests__/hmr.spec.ts#L126
1) [use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:80:5 › hmr: edit md file content
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.vp-local-outline').getByRole('link', { name: 'Heading one', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.vp-local-outline').getByRole('link', { name: 'Heading one', exact: true })
- 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"
124 | await expect(headingBeforeEdit).toHaveCount(1)
125 | await expect(headingAfterEdit).toHaveCount(0)
> 126 | await expect(outlineLinkBeforeEdit).toHaveCount(1)
| ^
127 | await expect(outlineLinkAfterEdit).toHaveCount(0)
128 | await expect(counterStateText).toHaveText('Counter component: 1.')
129 | })
at /home/runner/work/vite-plugin-react-pages/vite-plugin-react-pages/packages/playground/use-theme-doc/__tests__/hmr.spec.ts:126:39
|
Run tests
Process completed with exit code 1.
|
Run tests
1 failed
[use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:80:5 › hmr: edit md file content
18 skipped
32 passed (5.2m)
|
The logs for this run have expired and are no longer available.
Loading