Update README and run-tests for Playwright migration
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,7 @@ and [Tailwind CSS][tailwind].
|
|||||||
| UI | PrimeVue 4, PrimeIcons, SweetAlert2 |
|
| UI | PrimeVue 4, PrimeIcons, SweetAlert2 |
|
||||||
| Visualization | Cytoscape.js (process maps), Chart.js (charts) |
|
| Visualization | Cytoscape.js (process maps), Chart.js (charts) |
|
||||||
| HTTP | Axios with JWT refresh token handling |
|
| HTTP | Axios with JWT refresh token handling |
|
||||||
| Testing | Vitest 4 (unit/component), Cypress 15 (E2E) |
|
| Testing | Vitest 4 (unit/component), [Playwright][playwright] (E2E), [MSW][msw] (API mocking) |
|
||||||
| Linting | ESLint, Prettier |
|
| Linting | ESLint, Prettier |
|
||||||
|
|
||||||
|
|
||||||
@@ -80,18 +80,18 @@ npx vitest run
|
|||||||
|
|
||||||
### Run E2E tests
|
### Run E2E tests
|
||||||
|
|
||||||
Build first, then run [Cypress][cypress] against the preview
|
Build with MSW enabled first, then run [Playwright][playwright]:
|
||||||
server:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm run build
|
npm run build:e2e
|
||||||
npm run test:e2e
|
npm run test:e2e
|
||||||
```
|
```
|
||||||
|
|
||||||
For interactive E2E development with the Vite dev server:
|
For interactive E2E development with the Playwright UI:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm run test:e2e:dev
|
npm run build:e2e
|
||||||
|
npm run test:e2e:ui
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@@ -169,6 +169,7 @@ Code quality improvements assisted by [Claude Code][claude-code].
|
|||||||
[cytoscape]: https://js.cytoscape.org/
|
[cytoscape]: https://js.cytoscape.org/
|
||||||
[chartjs]: https://www.chartjs.org/
|
[chartjs]: https://www.chartjs.org/
|
||||||
[nodejs]: https://nodejs.org/
|
[nodejs]: https://nodejs.org/
|
||||||
[cypress]: https://www.cypress.io/
|
[playwright]: https://playwright.dev/
|
||||||
|
[msw]: https://mswjs.io/
|
||||||
[typedoc]: https://typedoc.org/
|
[typedoc]: https://typedoc.org/
|
||||||
[claude-code]: https://claude.ai/claude-code
|
[claude-code]: https://claude.ai/claude-code
|
||||||
|
|||||||
Reference in New Issue
Block a user