You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
I'm trying to test a dropdown component that opens up additional content when the button is clicked. The content is position: fixed, so in order for the screenshot to be correct I need to include the content as a capture element. The problem is that the first capture in the suite takes an image before the dropdown is open, so an error is thrown here
I think the simplest solution would be to treat all elements as optional, and continue the for loop instead of returning an error. Then after the loop, ensuring that there is some rectangle to capture, and throwing an error at that point if none of the elements were present.