Skip to content

fix(create-project): improve templates #435

fix(create-project): improve templates

fix(create-project): improve templates #435

Triggered via push February 19, 2024 17:43
Status Success
Total duration 9m 1s
Artifacts 4

test.yml

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

Annotations

2 errors, 4 warnings, and 4 notices
[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
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
[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
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
ubuntu-20.04 (chromium)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-22.04 (chromium)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
macos-latest (chromium)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
windows-latest (chromium)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
18 skipped 33 passed (4.6m)
🎭 Playwright Run Summary
1 flaky [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.0m)
🎭 Playwright Run Summary
18 skipped 33 passed (5.7m)
🎭 Playwright Run Summary
18 skipped 33 passed (5.5m)

Artifacts

Produced during runtime
Name Size
chromium-macos-latest-playwright-report Expired
476 KB
chromium-ubuntu-20.04-playwright-report Expired
475 KB
chromium-ubuntu-22.04-playwright-report Expired
2.69 MB
chromium-windows-latest-playwright-report Expired
475 KB