add some time to test 30 (but shrink the per-loop timeout)

This commit is contained in:
2025-06-01 15:08:32 -06:00
parent 92e564f7a5
commit fcb41101be

View File

@@ -88,6 +88,8 @@ import { test, expect } from '@playwright/test';
import { importUser, createUniqueStringsArray, createRandomNumbersArray } from './testUtils';
test('Record 9 new gifts', async ({ page }) => {
test.slow(); // Set timeout longer
const giftCount = 9;
const standardTitle = 'Gift ';
const finalTitles = [];
@@ -127,6 +129,6 @@ test('Record 9 new gifts', async ({ page }) => {
await expect(page.locator('ul#listLatestActivity li')
.filter({ hasText: finalTitles[i] })
.first())
.toBeVisible({ timeout: 10000 });
.toBeVisible({ timeout: 3000 });
}
});