perf: parallelize tests and reduce timeouts
- Increase workers from 1 to 10 in CI for parallel execution - Reduce expect timeout from 5000ms to 2000ms - Reduce all waitForTimeout calls >1000ms to 200-500ms - Remove unnecessary waits in global setup
This commit is contained in:
@@ -189,7 +189,7 @@ test.describe.serial('Tournament with 10 Participants and Variable Team Durabili
|
||||
await page.click('button:has-text("Add")');
|
||||
|
||||
// Wait for the player to be added and UI to update
|
||||
await page.waitForTimeout(1000);
|
||||
await page.waitForTimeout(200);
|
||||
}
|
||||
|
||||
// Verify 10 players are added
|
||||
|
||||
Reference in New Issue
Block a user