Browse Source

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

pull/135/head
Trent Larson 4 days ago
parent
commit
504056eb90
  1. 4
      test-playwright/33-record-gift-x10.spec.ts

4
test-playwright/33-record-gift-x10.spec.ts

@ -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 });
}
});
Loading…
Cancel
Save