fix display on a mobile device & mark slower tests

This commit is contained in:
2025-02-07 14:29:32 -07:00
parent da0f9e7581
commit 85c93c060a
5 changed files with 49 additions and 47 deletions

View File

@@ -2,7 +2,6 @@ import { test, expect } from '@playwright/test';
import { importUser } from './testUtils';
test('Create new project, then search for it', async ({ page }) => {
test.slow();
// Generate a random string of 16 characters
let randomString = Math.random().toString(36).substring(2, 18);

View File

@@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test';
import { importUser, createUniqueStringsArray } from './testUtils';
test('Create 10 new projects', async ({ page }) => {
test.setTimeout(40000); // Set timeout longer since it often fails at 30 seconds
test.slow(); // Set timeout longer since it often fails at 30 seconds
const projectCount = 10;

View File

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