Skip to content

Commit

Permalink
feat: update playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
jsfez committed Jan 2, 2024
1 parent 0c28019 commit 11c7a11
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions app/playwright/get-started/GetStarted.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,21 +108,16 @@ export async function GetStarted() {
import { defineConfig } from "@playwright/test";
export default defineConfig({
// Add Argos reporter. Upload on CI only.
reporter: [
["list"],
[
"@argos-ci/playwright/reporter",
{
// Enable upload to Argos only when it runs on CI.
uploadToArgos: !!process.env.CI,
},
],
["html"],
["@argos-ci/playwright/reporter", { uploadToArgos: !!process.env.CI }],
],
// Setup test debugging on CI.
use: {
trace: 'on-first-retry',
screenshot: "only-on-failure",
trace: "retain-on-failure",
},
});
`.trim()}
Expand Down

0 comments on commit 11c7a11

Please sign in to comment.