Skip to content

Instantly share code, notes, and snippets.

@maxhoheiser
Created March 16, 2022 10:45
Show Gist options
  • Select an option

  • Save maxhoheiser/5aea38562b7c5b9f7270a856734e6dbf to your computer and use it in GitHub Desktop.

Select an option

Save maxhoheiser/5aea38562b7c5b9f7270a856734e6dbf to your computer and use it in GitHub Desktop.
Example synpress config file
{
"baseUrl": "http://localhost:3000",
"userAgent": "synpress",
"retries": { "runMode": 0, "openMode": 0 },
"integrationFolder": "integration",
"screenshotsFolder": "screenshots",
"videosFolder": "videos",
"video": true,
"chromeWebSecurity": true,
"viewportWidth": 1366,
"viewportHeight": 850,
"component": {
"componentFolder": ".",
"testFiles": "**/*spec.{js,jsx,ts,tsx}"
},
"env": {
"coverage": false
},
"defaultCommandTimeout": 30000,
"pageLoadTimeout": 30000,
"requestTimeout": 30000,
"supportFile": "support/index.js"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment