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
This commit is contained in:
2026-05-18 18:32:30 -07:00
parent feca7067b8
commit a0872d07ef
8 changed files with 59 additions and 30 deletions
+4 -4
View File
@@ -45,8 +45,8 @@ test.describe('Tournament Edit - allowTies functionality', () => {
// Navigate to tournament edit page
await page.goto(`/admin/tournaments/${tournamentId}/edit`);
// Wait for form to load
await expect(page.locator('text=Tournament Name')).toBeVisible();
// Wait for form to load - edit page shows "Edit Tournament" heading
await expect(page.locator('text=Edit Tournament')).toBeVisible();
// Check that allowTies checkbox exists
const allowTiesCheckbox = page.locator('input[name="allowTies"]');
@@ -59,7 +59,7 @@ test.describe('Tournament Edit - allowTies functionality', () => {
await page.goto(`/admin/tournaments/${tournamentId}/edit`);
// Wait for form to load
await expect(page.locator('text=Tournament Name')).toBeVisible();
await expect(page.locator('text=Edit Tournament')).toBeVisible();
// Toggle allowTies checkbox
const allowTiesCheckbox = page.locator('input[name="allowTies"]');
@@ -91,7 +91,7 @@ test.describe('Tournament Edit - allowTies functionality', () => {
await page.goto(`/admin/tournaments/${tournamentId}/edit`);
// Wait for form to load
await expect(page.locator('text=Tournament Name')).toBeVisible();
await expect(page.locator('text=Edit Tournament')).toBeVisible();
// Verify checkbox is checked
const allowTiesCheckbox = page.locator('input[name="allowTies"]');