Skip to content

feat: support modify remarkPlugins & rehypePlugins #413

feat: support modify remarkPlugins & rehypePlugins

feat: support modify remarkPlugins & rehypePlugins #413

Triggered via pull request September 28, 2023 17:54
Status Success
Total duration 15m 24s
Artifacts 4

test.yml

on: pull_request
Matrix: test_linux
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 notices
[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
1) [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
[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:80:5 › hmr: edit md file content: packages/playground/use-theme-doc/__tests__/hmr.spec.ts#L126
2) [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(received).toHaveCount(expected) // deep equality 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
🎭 Playwright Run Summary
1 flaky [use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:51:5 › hmr: edit file (md static data notation) 18 skipped 32 passed (6.3m)
🎭 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:80:5 › hmr: edit md file content 18 skipped 31 passed (6.6m)
🎭 Playwright Run Summary
18 skipped 33 passed (7.0m)
🎭 Playwright Run Summary
18 skipped 33 passed (8.7m)

Artifacts

Produced during runtime
Name Size
chromium-macos-latest-playwright-report Expired
500 KB
chromium-ubuntu-20.04-playwright-report Expired
2.44 MB
chromium-ubuntu-22.04-playwright-report Expired
1.58 MB
chromium-windows-latest-playwright-report Expired
501 KB