Commit graph

2 commits

Author SHA1 Message Date
7f547d667d
Fix e2e tests for pricing page
- Update selectors to use input indices instead of labels (labels not associated)
- Fix validation error status expectation (400 instead of 422)
- Update exchange.spec.ts to check new config fields (eur_min_buy, etc.)
2025-12-26 20:59:10 +01:00
2ee27cf5b2
Add e2e tests for admin pricing page
- Test admin can access pricing page and view current configuration
- Test admin can update pricing configuration with confirmation
- Test form validation prevents invalid values
- Test regular users cannot access pricing page
- Test API permissions (admin can access, regular user cannot)
- Test API validation works correctly
2025-12-26 20:57:32 +01:00