mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 22:34:56 +00:00
- Created a new troubleshooting guide in README.md for common issues and testing problems. - Updated package.json to include new act commands for linting, type checking, building, and diagnosing workflows. - Added a pre-commit hook script to validate workflows before commits. - Enhanced run-act.sh script with logging, Docker checks, and improved output formatting. - Improved test-workflows.sh with an interactive menu and performance tracking. - Introduced setup-act.sh for quick setup and testing of act integration.
Testing
Overview
Test suites for unit testing, integration testing, and end-to-end testing.
Location
Related E2E Tests
End-to-end tests are located in /e2e/ directory.
Test Configuration
- Vitest configuration:
vitest.config.ts - Playwright E2E configuration:
playwright.config.ts
Running Tests
# Unit tests
npm run test
# E2E tests
npm run test:e2e
# E2E tests with UI
npm run test:e2e:ui
# Linting
npm run lint
npm run lint:fix
Test Files in /src/tests/
Unit and integration tests for source code modules.
Test Files in /e2e/
End-to-end tests:
smoke.spec.ts- Smoke testslogin.spec.ts- Authentication testscrud.spec.ts- CRUD operation tests