added playwright html reporter (#1715)
* added playwright html reporter * upload artifacts * add junit reporter * upload artifacts * revert * upload report as artifact * upload only report in ci * remove playwright cache * revert caching * upload reporter as artifact * remove all cache * revert changes * Update .github/workflows/e2e.yml Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Omar López <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
6 files changed
+159
-17
No files matched your search
@@ -17,7 +17,11 @@ const config: PlaywrightTestConfig = {
|
||||
forbidOnly: !!process.env.CI,
|
||||
testDir: "playwright",
|
||||
timeout: 60_000,
|
||||
reporter: "list",
|
||||
reporter: [
|
||||
[process.env.CI ? "github" : "list"],
|
||||
["html", { outputFolder: "./playwright/reports/playwright-html-report", open: "never" }],
|
||||
["junit", { outputFile: "./playwright/reports/results.xml" }],
|
||||
],
|
||||
globalSetup: require.resolve("./playwright/lib/globalSetup"),
|
||||
outputDir: "playwright/results",
|
||||
webServer: {
|
||||
|
||||
Reference in new issue
Block a user