|
|
@ -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 }); |
|
|
|
} |
|
|
|
}); |