Commit Graph

4 Commits

Author SHA1 Message Date
david 005cf7293d fix: reduce timeout values and fix test auth issues
Pull Request / unit-tests (pull_request) Successful in 2m31s
Pull Request / analyze-bump-type (pull_request) Successful in 12s
Pull Request / build-and-deploy-ci (pull_request) Failing after 42m4s
- Reduce URL wait timeouts from 10000ms to 5000ms across tests
- Fix tournament-edit-allowTies: add login before navigating to edit page
- Fix epic4-tournament-creation: fill name field before clicking Next
- Fix cucumber config: remove broken cucumber-pretty formatter
2026-05-18 20:05:15 -07:00
david a0872d07ef fix: resolve remaining test failures in CI
Pull Request / unit-tests (pull_request) Successful in 2m4s
Pull Request / analyze-bump-type (pull_request) Successful in 15s
Pull Request / build-and-deploy-ci (pull_request) Failing after 43m22s
- cucumber: use 'progress' formatter in CI (not progress-bar TTY)
- csv-upload: use timestamp in player names to avoid unique constraint
- elo-ratings: delete event_participants before players (FK constraint)
- epic3-rankings: use .first() on h1/h2 locator (strict mode)
- schedule-tab: look for button instead of anchor for Schedule tab
- team-config: wait for search input before filling (step 2 async)
- tournament-edit-allowTies: check for 'Edit Tournament' not 'Tournament Name'
- epic4-tournament-creation: submit button only on step 2, add waitForSelector
2026-05-18 18:32:30 -07:00
david 2c5666e419 chore: save WIP before workstation switch 2026-05-18 17:33:31 -07:00
david b90ec08966 refactor: improve test structure for Bun compatibility
Pull Request / unit-tests (pull_request) Failing after 58s
Pull Request / acceptance-tests (pull_request) Has been skipped
Pull Request / analyze-bump-type (pull_request) Has been skipped
- Update all test files to use named mock variables instead of inline mocks
- Clear mock history in beforeEach instead of using mock.restore()
- Add default mock implementations stored at module level
- Document that tests should not use --randomize flag due to mock.module() limitations
- All 89 unit tests pass consistently without randomization
2026-04-01 01:05:01 -07:00