Skip to content

Commit

Permalink
Add the playwright video tracing feature
Browse files Browse the repository at this point in the history
  • Loading branch information
anjula-sack committed Jul 28, 2023
1 parent cce74ba commit f8a63e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ const config: PlaywrightTestConfig = {
retries: 0,
reporter: process.env.CI
? [["junit", { outputFile: "results.xml" }], ["html"]]
: [["line"]],
: [["html"]],
globalSetup: require.resolve("./e2e/core/global-setup"),
use: {
baseURL: `${process.env.E2E_BASE_URL}/spa/`,
locale: "en-US",
storageState: "e2e/storageState.json",
video: "retain-on-failure",
},
projects: [
{
Expand Down

0 comments on commit f8a63e5

Please sign in to comment.