Skip to content

Match cy.screenshot() filename behaviour #19

@cb109

Description

@cb109

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 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 :)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions