From aa5fe40712f4e4af73bb43e6d3969b99be52a174 Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Tue, 26 Aug 2025 15:11:42 +0800 Subject: [PATCH] Reinstall playwright --- playwright.config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index 6e11caf..c234c71 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,14 +1,18 @@ import { defineConfig, devices } from '@playwright/test' export default defineConfig({ - testDir: './src/pages/tests', + testDir: './tests', fullyParallel: true, forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, workers: process.env.CI ? 1 : undefined, reporter: 'html', use: { - trace: 'off', + /* Base URL to use in actions like `await page.goto('/')`. */ + // baseURL: 'http://localhost:3000', + + /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ + trace: 'on-first-retry', }, /* Configure projects for major browsers */