File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ export const PlaywrightConfig = () => (
170170 < CodeBlock language = "js" title = "playwright.config.ts" >
171171 { `
172172import { defineConfig } from "@playwright/test";
173+ import { createArgosReporterOptions } from "@argos-ci/playwright/reporter";
173174
174175export default defineConfig({
175176 // ... other configuration
@@ -181,13 +182,13 @@ export default defineConfig({
181182 // Add Argos reporter.
182183 [
183184 "@argos-ci/playwright/reporter",
184- {
185+ createArgosReporterOptions( {
185186 // Upload to Argos on CI only.
186187 uploadToArgos: !!process.env.CI,
187188
188189 // Set your Argos token (required if not using GitHub Actions).
189190 token: "<YOUR-ARGOS-TOKEN>",
190- },
191+ }) ,
191192 ],
192193 ],
193194
You can’t perform that action at this time.
0 commit comments