Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store screenshot in the same directory as component is? #268

Open
vladislavkovaliov opened this issue Apr 5, 2024 · 3 comments
Open

Store screenshot in the same directory as component is? #268

vladislavkovaliov opened this issue Apr 5, 2024 · 3 comments

Comments

@vladislavkovaliov
Copy link

Hi,

is possible to store screenshot on the same directory where the component is?

Example:
image

I tryied to play with customSnapshotsDir but it's only define directory.

Maybe there is way to pass template as <roorDid>/src/components/<componentName>screenshot for instance?

@simonsmith
Copy link

Hey,

That feature doesn't exist currently, but it seems like it could be a good addition

@vladislavkovaliov
Copy link
Author

Do i need to rewrite as feature request my issue?
Who can I ask about that?

@simonsmith
Copy link

Oh sorry, I didn't realise what repo this was 😄

Can you add it to https://github.com/simonsmith/cypress-image-snapshot, this is my maintained fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants