cypress-image-snapshot icon indicating copy to clipboard operation
cypress-image-snapshot copied to clipboard

Store screenshot in the same directory as component is?

Open vladislavkovaliov opened this issue 1 year ago • 3 comments

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?

vladislavkovaliov avatar Apr 05 '24 14:04 vladislavkovaliov

Hey,

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

simonsmith avatar Apr 05 '24 14:04 simonsmith

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

vladislavkovaliov avatar Apr 05 '24 15:04 vladislavkovaliov

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

simonsmith avatar Apr 05 '24 17:04 simonsmith