Skip to content

Commit

Permalink
Merge pull request #118 from argos-ci/update-playwright-config
Browse files Browse the repository at this point in the history
feat: update playwright config
  • Loading branch information
jsfez authored Jan 2, 2024
2 parents 0c28019 + 11c7a11 commit 888baa5
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 888baa5

Please sign in to comment.