Consolidates test-results

This commit is contained in:
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 uses: actions/upload-artifact@v2
with: with:
name: test-results name: test-results
path: | path: test-results
test-results
playwright/screenshots
playwright/videos
playwright/results
playwright/reports

View File

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