Closed skitterm closed 4 months ago
Coverage variation | Diff coverage |
---|---|
:white_check_mark: +0.00% (target: -1.00%) | :white_check_mark: ∅ (target: 80.00%) |
Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more
@tevanoff this is ready for your re-review! I disabled Codacy's duplication
rules for test directories as well.
This is the non-fork version of #134 (thanks to @jackleslie and @ethriel3695 for the fix!), so that we get CI checks before merging.
Issue: https://github.com/chromaui/chromatic-e2e/issues/131
What Changed
From documentation:
I believe currently when
disableAutoSnapshot
is set totrue
we are not proceeding to theprepareArchives
task, so rather than disabling the automatic snapshot we are disabling all snapshotsI also disabled Codacy's duplication rule for test directories.
How to test
disableAutoSnapshot: true
globallycypress/downloads/chromatic-archives
directory has an empty storybookcy.takeSnapshot()
cypress/downloads/chromatic-archives
is populated and has a non-empty storybookcy.takeSnapshot()
has a story with the UI that it would have had at that point in the testdisableAutoSnapshot: false
globally