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 Mar 3, 2020. It is now read-only.
We ended up with over 14,000 ClickFailed screenshots in our CI /tmp directory, I assume due to some sort of synchronization loop (Capybara::Webkit::ClickFailed is returned by invalid_element_errors, indicating Capybara should retry it), though the test logs do not report an abnormal number of screenshots.
The new ClickFailed screenshot feature should be refined to address this in a couple of ways:
There should be a configuration option to disable the screenshot behavior entirely.
(Ideally) The driver should avoid taking screenshots repeatedly in sync loops.
(Alternatively) Every screenshot taken should be logged, regardless of whether its associated error is thrown, making this sort of problem easier to spot.
We ended up with over 14,000 ClickFailed screenshots in our CI /tmp directory, I assume due to some sort of synchronization loop (Capybara::Webkit::ClickFailed is returned by invalid_element_errors, indicating Capybara should retry it), though the test logs do not report an abnormal number of screenshots.
The new ClickFailed screenshot feature should be refined to address this in a couple of ways: