c31e23c2b9
- Introduced Playwright configuration for e2e testing. - Implemented authentication tests to validate login functionality. - Created tests for GRN (Goods Receipt Note) to ensure proper stock handling. - Developed production run tests to verify lifecycle and stock posting. - Added stock transfer tests to check movement between warehouses. - Implemented stock adjustment tests for positive and negative adjustments. - Established API seeder for test data setup and verification. - Enhanced utility functions for UI interactions and response handling.
20 lines
552 B
JSON
20 lines
552 B
JSON
{
|
|
"name": "erp-core-e2e",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Playwright end-to-end tests for GRN, Production Runs, and Stock Movement flows.",
|
|
"scripts": {
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:headed": "playwright test --headed",
|
|
"test:e2e:debug": "playwright test --debug",
|
|
"report": "playwright show-report"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.49.0",
|
|
"@types/node": "^20.0.0",
|
|
"dotenv": "^16.4.5",
|
|
"typescript": "^5.4.0"
|
|
}
|
|
}
|