Skip to content

Commit

Permalink
Fix outputFile for reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjones committed Sep 26, 2024
1 parent b915c5f commit fc2614f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prototypes/basic/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
testDir: './tests',
reporter: process.env.CI ? [['github'], ['junit', {outputFile: "results.xml"}]] : 'line',
outputDir: './test-results',
reporter: process.env.CI ? [['github'], ['junit', {outputFile: "./test-results/results.xml"}]] : 'line',
use: {
baseURL: 'http://127.0.0.1:3000',
},
Expand Down

0 comments on commit fc2614f

Please sign in to comment.