Consolidates test-results

pull/2801/head^2
zomars 2022-05-18 10:54:36 -06:00
parent 6148e89425
commit c1cc93c164
2 changed files with 3 additions and 8 deletions

View File

@ -88,9 +88,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: test-results
path: |
test-results
playwright/screenshots
playwright/videos
playwright/results
playwright/reports
path: test-results

View File

@ -32,8 +32,8 @@ const config: PlaywrightTestConfig = {
maxFailures: headless ? 10 : undefined,
reporter: [
[process.env.CI ? "github" : "list"],
["html", { outputFolder: "./playwright/reports/playwright-html-report", open: "never" }],
["junit", { outputFile: "./playwright/reports/results.xml" }],
["html", { outputFolder: path.join(outputDir, "reports/playwright-html-report"), open: "never" }],
["junit", { outputFile: path.join(outputDir, "reports/results.xml") }],
],
globalSetup: require.resolve("./globalSetup"),
outputDir,