Created
October 7, 2025 09:18
-
-
Save hassy/ecd4c461c79493e1efa2bbaeff0f62c5 to your computer and use it in GitHub Desktop.
Customizing Artillery config via env vars (Playwright slowMo)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const config = { | |
| target: "https//www.example.com", | |
| engines: { | |
| playwright: { | |
| launchOptions: { | |
| slowMo: parseInt(process.env.SLOW_MO, 10), | |
| } | |
| } | |
| } | |
| }; | |
| export const scenarios = [ | |
| { | |
| engine: 'playwright', | |
| testFunction: myFunction | |
| } | |
| ]; | |
| // and run with e.g. | |
| // SLOW_MO=100 artillery run test.ts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment