-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
screenshots saved in different folders when invoked from app vs. cli #2091
Comments
This for sure is a bug. @chrisbreiding can you take a peek? |
@brian-mann Which version is correct? With or without |
Without |
I'm on When running
When running
Is this expected? |
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. |
Also, I wish the directories weren't named with
We should have:
|
Current 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 tocypress/screenshots/visual-regression/test-urls.js/
.When using the same test from the app (
cypress open
), the screenshots are saved tocypress/screenshots/integration/visual-regression/test-urls.js/
Desired behavior:
Screenshots are saved to the same folders, no matter how the test is invoked
Versions
3.0.2, I guess this is introduced with #1826 / #1858
The text was updated successfully, but these errors were encountered: