fix hmr of mdx and outlineInfo; support used together with @vitejs/plugin-react-swc #398
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 errors and 4 notices
[use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:22:5 › hmr: edit file (js static data notation):
packages/playground/use-theme-doc/__tests__/hmr.spec.ts#L41
1) [use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:22:5 › hmr: edit file (js static data notation)
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-local-sider').locator('text="modified title"')
- 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"
39 | await expect(
40 | page.locator('.vp-local-sider >> text="modified title"')
> 41 | ).toHaveCount(1)
| ^
42 | await testPlayground.restore()
43 | await expect(
44 | page.locator('.vp-local-sider >> text="index page title"')
at /home/runner/work/vite-plugin-react-pages/vite-plugin-react-pages/packages/playground/use-theme-doc/__tests__/hmr.spec.ts:41:5
|
[use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:51:5 › hmr: edit file (md static data notation):
packages/playground/use-theme-doc/__tests__/hmr.spec.ts#L70
2) [use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:51:5 › hmr: edit file (md static data notation)
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-local-sider').locator('text="modified title"')
- 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"
68 | await expect(
69 | page.locator('.vp-local-sider >> text="modified title"')
> 70 | ).toHaveCount(1)
| ^
71 | await testPlayground.restore()
72 | await expect(
73 | page.locator('.vp-local-sider >> text="page2 title"')
at /home/runner/work/vite-plugin-react-pages/vite-plugin-react-pages/packages/playground/use-theme-doc/__tests__/hmr.spec.ts:70:5
|
🎭 Playwright Run Summary
18 skipped
33 passed (5.8m)
|
🎭 Playwright Run Summary
2 flaky
[use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:22:5 › hmr: edit file (js static data notation)
[use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:51:5 › hmr: edit file (md static data notation)
18 skipped
31 passed (6.4m)
|
🎭 Playwright Run Summary
18 skipped
33 passed (7.0m)
|
🎭 Playwright Run Summary
18 skipped
33 passed (9.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
chromium-macos-latest-playwright-report
Expired
|
498 KB |
|
chromium-ubuntu-20.04-playwright-report
Expired
|
496 KB |
|
chromium-ubuntu-22.04-playwright-report
Expired
|
1.67 MB |
|
chromium-windows-latest-playwright-report
Expired
|
498 KB |
|