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

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related