fix error editing an offer, tweak tests to fix red in IntelliJ
This commit is contained in:
@@ -2,8 +2,8 @@ import { test, expect } from '@playwright/test';
|
||||
import { importUser } from './testUtils';
|
||||
|
||||
test('Record an offer', async ({ page }) => {
|
||||
// Generate a random string of 6 characters, skipping the "0." at the beginning
|
||||
const randomString = Math.random().toString(36).substring(2, 8);
|
||||
// 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
|
||||
const finalTitle = `Offering of ${randomString}`;
|
||||
const randomNonZeroNumber = Math.floor(Math.random() * 998) + 1;
|
||||
|
||||
Reference in New Issue
Block a user