forked from trent_larson/crowd-funder-for-time-pwa
add some time to test 30 (but shrink the per-loop timeout)
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user