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:
@@ -74,7 +74,7 @@ test.describe.serial('Account Lifecycle Acceptance Test', () => {
|
||||
await page.waitForURL(/\/players\/\d+\/profile/, { timeout: 10000 });
|
||||
|
||||
// Wait a moment for the user to be saved to database
|
||||
await page.waitForTimeout(1000);
|
||||
await page.waitForTimeout(200);
|
||||
|
||||
// Verify user was created in database
|
||||
const user = await prisma.user.findUnique({
|
||||
|
||||
Reference in New Issue
Block a user