npm run reference is not working as expected
Open
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
when I run the command **npm run reference** from backstopjs folder
is saves unrecognized screenshots:
so the test always passes, because it compares the screenshot to itself all.
please advise
Contributor guide
Research direction
Start by running npm run reference from the BackstopJS folder and inspect the generated screenshots and the configuration used by that command. Trace why the reference capture is being treated as its own comparison baseline; done means the command saves the intended reference image and a visual test can fail when the output differs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100