Skip to content

Scheduling infrastructure for absolutely everyone.

Consolidates test-results

zomarsc1cc93c16491
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 6187229b168..1eb2a2a8b39 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -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
diff --git a/tests/config/playwright.config.ts b/tests/config/playwright.config.ts
index 1f9438372f0..a5a23366ce5 100644
--- a/tests/config/playwright.config.ts
+++ b/tests/config/playwright.config.ts
@@ -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,