BackstopJS
BackstopJS copied to clipboard
Chromy: Global `hideSelectors` not working
When I run my configuration with the Chromy driver and use the hideSelectors
global option, it doesn't work. It only works when I add hideSelectors
to individual scenario configurations.
Steps to reproduce:
- Start with a valid "chromy"
backstop.json
file. - Add a valid selector to the top level
hideSelectors
key. - Run
backstop test
and verify that your selectors are not hidden. - Add a valid selector to one of the scenarios under the
hideSelectors
key. - Run
backstop test
and verify that your selectors are hidden for that scenario.
@rbayliss hi there. This is actually working as designed. There is no global option for those props.
Ohhhh. Good to know. Thanks. I was trying to hide a universal header which sometimes randomly takes too long to load from the remote location. I'll go ahead and drop it in each of the individual scenarios.
I created a general feature request for this: https://github.com/garris/BackstopJS/issues/1432 So perhaps this particular issue can be closed and people could vote on the general issue?