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

Remove auto-screenshot behavior #800

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jferris
Copy link
Contributor

@jferris jferris commented Jun 26, 2015

We can't distinguish between ClickFailed errors which will be retried,
and those which have actually failed for good. This means we end up
writing hundreds of screenshot files during a failure, and we sometimes
write several screenshot files even when the click ends up working.

This isn't feasible to work around in a driver, so this commit removes
the behavior from capybara-webkit. Something like this may make more
sense in Capybara proper.

Resolves #626.

We can't distinguish between ClickFailed errors which will be retried,
and those which have actually failed for good. This means we end up
writing hundreds of screenshot files during a failure, and we sometimes
write several screenshot files even when the click ends up working.

This isn't feasible to work around in a driver, so this commit removes
the behavior from capybara-webkit. Something like this may make more
sense in Capybara proper.

Resolves #626.
@mhoran
Copy link
Collaborator

mhoran commented Jun 27, 2015

Looks good to me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants