Browse Source

test: increase timeout for record offer test to 60s

The record offer test occasionally hits the 45s timeout limit.
Increasing to 60s provides more headroom, aligning with actual
test durations seen in Firefox (up to 43.1s for similar operations).
pull/142/head
Matthew Raymer 3 months ago
parent
commit
2b7b07441e
  1. 2
      test-playwright/50-record-offer.spec.ts

2
test-playwright/50-record-offer.spec.ts

@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test';
import { importUser } from './testUtils'; import { importUser } from './testUtils';
test('Record an offer', async ({ page }) => { test('Record an offer', async ({ page }) => {
test.setTimeout(45000); test.setTimeout(60000);
// Generate a random string of 3 characters, skipping the "0." at the beginning // Generate a random string of 3 characters, skipping the "0." at the beginning
const randomString = Math.random().toString(36).substring(2, 5); const randomString = Math.random().toString(36).substring(2, 5);

Loading…
Cancel
Save