You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Newest cypress versions (3.0.2+) allow defining a nested screenshot filename like cy.screenshot('dir1/dir2/foobar) which automatically creates the dir1 directory and its dir2 subdirectory, storing foobar.png inside it. This pretty convenient e.g. when doing screenshots for mobile/dashboard and desktop/dashboard.
This plugin has its own naming scheme (test.title + name in kebab-case) and does not support this syntax for nested folders, it would be nice to match the default cypress behaviour :)
The text was updated successfully, but these errors were encountered:
https://docs.cypress.io/api/commands/screenshot.html#Naming-conventions
Newest cypress versions (3.0.2+) allow defining a nested screenshot filename like
cy.screenshot('dir1/dir2/foobar
) which automatically creates thedir1
directory and itsdir2
subdirectory, storingfoobar.png
inside it. This pretty convenient e.g. when doing screenshots formobile/dashboard
anddesktop/dashboard
.This plugin has its own naming scheme (test.title + name in kebab-case) and does not support this syntax for nested folders, it would be nice to match the default cypress behaviour :)
The text was updated successfully, but these errors were encountered: