webdrivercss icon indicating copy to clipboard operation
webdrivercss copied to clipboard

Custom screenshot folder per test file

Open micahgodbolt opened this issue 10 years ago • 2 comments

Our design system is broken up into dozens of individual components, each with their own set of tests.

What I'd love to see is a way to specify where all of the screenshots go per set of tests.

shots
  button_shots
  alert_shots
  form_shots
  ...

This could be a value passed into the .webdrivercss() function, or better yet, allow the screenshotRoot to be relative to the test file, rather than the project root.

micahgodbolt avatar Oct 20 '15 22:10 micahgodbolt

This would be great for me as well

Blackbaud-PatrickOFriel avatar Nov 04 '15 22:11 Blackbaud-PatrickOFriel

I've found that webdrivercss is extremely restrictive if you want to integrate it into any sort of larger workflow. It seems to be suited for one person making tests against a single page.

If you try and pass different folder names to it for each test you run, you very quickly encounter problems.

JamEngulfer avatar Dec 16 '15 11:12 JamEngulfer