screenshots saved in different folders when invoked from app vs. cli
See original GitHub issueCurrent behavior:
When using .screenshot() in a test from the command line with yarn cypress run -s cypress/integration/visual-regression/test-urls.js
, screenshots are saved to cypress/screenshots/visual-regression/test-urls.js/
.
When using the same test from the app (cypress open
), the screenshots are saved to cypress/screenshots/integration/visual-regression/test-urls.js/
Desired behavior:
Screenshots are saved to the same folders, no matter how the test is invoked
Versions
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to Change Where Screenshots Are Saved on Your Mac
* Press Command-Shift-5 to open the Screenshot app. * Select Options. * From the Save to section, select your preferred location. * If...
Read more >How To Change Where Screenshots Are Saved On A Mac
How to change screenshot location on a Mac · Press Command + Shift + 5. · Click on Options. · Now either pick...
Read more >Where are screenshots saved on Big Sur? - Apple Community
Look in your utilities folder for an app called screenshot. Launch the app and then at the bottom there are options that you...
Read more >terminal - Change location of screenshots mac - Ask Different
Now use Cmd + Shift + 3 (eventually 4 ) shortcut, you will see your screenshots are saved in your new location.
Read more >How to Change Where Screenshots are Saved on a Mac
Here you will see a variety of popular folders or apps you can save the screenshot to, including Documents, Clipboard, Mail, and Preview....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, that’s definitely not expected. Looks like we didn’t take running all specs into account when implementing the new screenshot path rules. It’s a different issue than the original here, so I’m going to create a new GitHub issue for this.
I’m on
3.0.3
and I’m still experiencing this issue.When running
cypress run
this is what myscreenshots
folder looks like:When running
cypress open
and clicking on “Run all specs”, an “All specs” folder is created:Is this expected?