Consolidates test-results

This commit is contained in:
zomars committed 2022-05-18 10:54:36 -06:00
1 parent 6148e89425
commit c1cc93c164
2 files changed
+3 -8

No files matched your search

+1 -6
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
+2 -2
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,