Consolidates test-results
parent
6148e89425
commit
c1cc93c164
|
@ -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
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue