Commit graph

5 commits

Author SHA1 Message Date
2eff93ee4a
fix: improve cycle regeneration test with proper member setup
- Set join_date in past to ensure cycles can be generated
- Check for flash message to verify action completion
- More reliable test that works with cycle generation logic
2025-12-18 15:08:35 +01:00
e3ba6e9e7b
fix: ensure cycles are generated in regeneration test
- Delete auto-generated cycles before manual regeneration
- Add small delay to allow async processing
- Test now correctly verifies cycle regeneration
2025-12-18 15:08:35 +01:00
94de6b2e8f
fix: update tests to work with tab navigation and correct selectors
- Add tab switching to membership fees tab in all tests
- Update button selectors to use correct phx-value attributes
- Fix cycle display test to check for formatted dates
- All membership fees tests now pass
2025-12-18 15:08:35 +01:00
803d9a0a94
fix: normalize checkbox value and improve UI layout
- Normalize checkbox 'on' value to boolean true in settings
- Change Payment Data layout to flex-nowrap for horizontal display
- Replace membership fee type dropdown with display-only view
- Fix tests to use correct button selectors and switch to membership fees tab
2025-12-18 15:08:35 +01:00
5789079ab0
test: add comprehensive tests for membership fee UI components
Add tests for all membership fee UI components following TDD principles:
2025-12-18 15:08:32 +01:00