mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-31 19:57:24 -04:00
- Add basic Docker integration tests (run-integration-tests.sh) - Validates Docker stack startup - Checks login page accessibility and HTTP status - Verifies login form presence - Add Playwright E2E test suite - Login tests: valid/invalid credentials, protected pages - Items tests: create, update, verify in inventory table - Customers tests: create with details, search, table verification - Sales tests: full sale flow with items, customers, payment, and receipt validation - Configure Playwright with multi-browser support (Chrome, Firefox) - Add GitHub Actions workflow for CI/CD - Runs on push/PR to master - Includes both basic and Playwright tests - Uploads screenshots, traces, and logs on failure - Organize tests in integration-tests/ directory - Update package.json with test scripts - Include comprehensive documentation This provides automated testing for core POS workflows including item management, customer management, and complete sales transactions with receipt generation verification.