chore: update rollup (#158) #408
Annotations
2 errors and 1 notice
Run tests:
packages\playground\use-theme-doc\__tests__\hmr.spec.ts#L10
1) [use-theme-doc:serve] › ..\packages\playground\use-theme-doc\__tests__\hmr.spec.ts:8:5 › hmr: edit file (js)
Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('text="Jump to page1"')
- locator resolved to 0 elements
- unexpected value "0"
8 | test('hmr: edit file (js)', async ({ page, fsUtils, testPlayground }) => {
9 | // edit js content
> 10 | await expect(page.locator('text="Jump to page1"')).toHaveCount(1)
| ^
11 | await expect(page.locator('text="Modified content!"')).toHaveCount(0)
12 | fsUtils.editFile('pages/$.tsx', (str) => {
13 | return str.replace('Jump to page1', 'Modified content!')
at D:\a\vite-plugin-react-pages\vite-plugin-react-pages\packages\playground\use-theme-doc\__tests__\hmr.spec.ts:10:54
|
Run tests:
packages\playground\use-theme-doc\__tests__\navigate-tests.ts#L223
2) [use-theme-doc:serve] › ..\packages\playground\use-theme-doc\__tests__\navigate-tests.ts:16:3 › index page
Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.vp-antd-dropdown:visible')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
221 | .locator('.vp-local-header .vp-local-localeSelectorCtn button')
222 | .hover()
> 223 | await expect(page.locator('.vp-antd-dropdown:visible')).toHaveCount(1)
| ^
224 | await assertContainText(page.locator('.vp-antd-dropdown:visible'), [
225 | '中文',
226 | 'English',
at testHeader (D:\a\vite-plugin-react-pages\vite-plugin-react-pages\packages\playground\use-theme-doc\__tests__\navigate-tests.ts:223:63)
at D:\a\vite-plugin-react-pages\vite-plugin-react-pages\packages\playground\use-theme-doc\__tests__\navigate-tests.ts:18:5
|
Run tests
2 flaky
[use-theme-doc:serve] › ..\packages\playground\use-theme-doc\__tests__\hmr.spec.ts:8:5 › hmr: edit file (js)
[use-theme-doc:serve] › ..\packages\playground\use-theme-doc\__tests__\navigate-tests.ts:16:3 › index page
18 skipped
31 passed (10.0m)
|
The logs for this run have expired and are no longer available.
Loading