Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Need an option to disable ClickFailed screenshots, better logging #626

@bilts

Description

@bilts

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:

  1. There should be a configuration option to disable the screenshot behavior entirely.
  2. (Ideally) The driver should avoid taking screenshots repeatedly in sync loops.
  3. (Alternatively) Every screenshot taken should be logged, regardless of whether its associated error is thrown, making this sort of problem easier to spot.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions