BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

Chromy: Global `hideSelectors` not working

Open rbayliss opened this issue 6 years ago • 3 comments

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 avatar Mar 26 '18 22:03 rbayliss

@rbayliss hi there. This is actually working as designed. There is no global option for those props.

garris avatar Mar 26 '18 23:03 garris

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.

loopy3025 avatar May 05 '22 19:05 loopy3025

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?

JPustkuchen avatar Aug 10 '22 05:08 JPustkuchen