Why is waitForSelector
an invalid snapshot option?
#618
-
Within our storybook:
waitForSelector: '#root > *' When running percy, we receive this error on each snapshot:
According to the docs this seems a valid configuration: https://docs.percy.io/docs/storybook#percy-config-file-options Does anyone know what the problem is? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @JodiWarren! It looks like this is a bug with recent changes. The snapshot option is accepted, but that is being incorrectly logged after the option is already used when taking the DOM snapshot. I'll have a PR to fix this later today, but you should be safe to ignore that warning and continue using |
Beta Was this translation helpful? Give feedback.
Hi @JodiWarren!
It looks like this is a bug with recent changes. The snapshot option is accepted, but that is being incorrectly logged after the option is already used when taking the DOM snapshot. I'll have a PR to fix this later today, but you should be safe to ignore that warning and continue using
waitForSelector
.