0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00
posthog/cypress.json
Tim Glaser bb572272ca
Improve e2e flakeyness, skip Insights spec test (#4869)
* attempt to fix toolbar flakyness

* fix dashboard flakyness

* fix flake

* add retries to components

* Try speeding up build by skipping sourcemaps

* debug components

* show errors

* better error

* don't generate source map

* fix errors

* speed up component tests

* Try empty insights page

* Revert "Try empty insights page"

This reverts commit 68701b3804.

* Skip trends tests for now
2021-06-29 22:20:02 +02:00

19 lines
458 B
JSON

{
"video": false,
"experimentalComponentTesting": true,
"testFiles": "**/*cy-spec.js",
"componentFolder": "frontend/src",
"projectId": "twojfp",
"ignoreTestFiles": ["**/__snapshots__/*", "**/__image_snapshots__/*"],
"viewportWidth": 1280,
"viewportHeight": 720,
"retries": 2,
"env": {
"cypress-plugin-snapshots": {
"imageConfig": {
"threshold": 0.01
}
}
}
}