Skip to content

← All questions

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

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

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.

3 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related