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
This commit is contained in:
2026-05-18 20:05:15 -07:00
parent e08c2bbdfd
commit 005cf7293d
6 changed files with 97 additions and 25 deletions
+5 -5
View File
@@ -133,7 +133,7 @@ test.describe.serial('Issue #7: Schedule Tab', () => {
await page.fill('input[name="email"]', testEmail);
await page.fill('input[name="password"]', testPassword);
await page.click('button[type="submit"]');
await page.waitForURL(/\/(admin|players)/, { timeout: 10000 });
await page.waitForURL(/\/(admin|players)/, { timeout: 5000 });
// Navigate to tournament detail
await page.goto(`/admin/tournaments/${tournamentId}`);
@@ -149,7 +149,7 @@ test.describe.serial('Issue #7: Schedule Tab', () => {
await page.fill('input[name="email"]', testEmail);
await page.fill('input[name="password"]', testPassword);
await page.click('button[type="submit"]');
await page.waitForURL(/\/(admin|players)/, { timeout: 10000 });
await page.waitForURL(/\/(admin|players)/, { timeout: 5000 });
// Navigate to schedule page
await page.goto(`/admin/tournaments/${tournamentId}/schedule`);
@@ -166,7 +166,7 @@ test.describe.serial('Issue #7: Schedule Tab', () => {
await page.fill('input[name="email"]', testEmail);
await page.fill('input[name="password"]', testPassword);
await page.click('button[type="submit"]');
await page.waitForURL(/\/(admin|players)/, { timeout: 10000 });
await page.waitForURL(/\/(admin|players)/, { timeout: 5000 });
// Navigate to schedule page
await page.goto(`/admin/tournaments/${tournamentId}/schedule`);
@@ -196,7 +196,7 @@ test.describe.serial('Issue #7: Schedule Tab', () => {
await page.fill('input[name="email"]', testEmail);
await page.fill('input[name="password"]', testPassword);
await page.click('button[type="submit"]');
await page.waitForURL(/\/(admin|players)/, { timeout: 10000 });
await page.waitForURL(/\/(admin|players)/, { timeout: 5000 });
// Navigate to schedule page
await page.goto(`/admin/tournaments/${tournamentId}/schedule`);
@@ -218,7 +218,7 @@ test.describe.serial('Issue #7: Schedule Tab', () => {
await page.fill('input[name="email"]', testEmail);
await page.fill('input[name="password"]', testPassword);
await page.click('button[type="submit"]');
await page.waitForURL(/\/(admin|players)/, { timeout: 10000 });
await page.waitForURL(/\/(admin|players)/, { timeout: 5000 });
// Call the schedule API
const response = await page.request.get(