Skip to content

Commit

Permalink
test: modified config params
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Florez authored and Sergio Florez committed Feb 4, 2025
1 parent 7f72190 commit 281c6a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export default defineConfig({
// trace: 'on-first-retry'
trace: 'on',
screenshot: 'only-on-failure',
video: 'on'
video: 'on',
headless: true // Force headless mode in CI
},

/* Configure projects for major browsers */
Expand Down
3 changes: 0 additions & 3 deletions tests/initialInquiry/initialInquiry.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ test.describe.serial('Create initial inquiry', () => {
await loginUser(page, username!, password!);

await setTimeout(async () => 2000);
const header = page.locator('header.header');
await expect(header.locator('h2')).not.toHaveText('');
await expect(header.locator('p')).not.toHaveText('');

// assert user is logged in and check for initial inquiries
await page.waitForSelector('a[href="/profile"]', { state: 'visible' });
Expand Down

0 comments on commit 281c6a6

Please sign in to comment.