mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-27 16:26:50 +01:00
b7bdad90eb
* Add test for bar charts Since our charts are rendered on a canvas we can't really interact well with it. Instead, we take a screenshot now (new dependency). * Debug error in CI * Make sure images are the same size on CI and locally
18 lines
440 B
JSON
18 lines
440 B
JSON
{
|
|
"video": false,
|
|
"experimentalComponentTesting": true,
|
|
"testFiles": "**/*cy-spec.js",
|
|
"componentFolder": "frontend/src",
|
|
"projectId": "twojfp",
|
|
"ignoreTestFiles": ["**/__snapshots__/*", "**/__image_snapshots__/*"],
|
|
"viewportWidth": 1280,
|
|
"viewportHeight": 720,
|
|
"env": {
|
|
"cypress-plugin-snapshots": {
|
|
"imageConfig": {
|
|
"threshold": 0.01
|
|
}
|
|
}
|
|
}
|
|
}
|