Skip to content

← All questions

Added one mask selector in the env file and the other three disappeared

Asked 11,090 views3 answers

Project file masks three elements for screenshots. Staging has a clock widget that also needs masking, so I added it to envs/staging.yaml:

yaml
screenshots:
  mask: ['[data-test="live-clock"]']

Now the three from the project file are not masked any more and every visual baseline is failing on the cart badge. I expected the lists to be added together.

asked by Nadia Belkacem8,611 ·

3 answers

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related