Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Capybara prune_strategy keep_last_run and capybara-screenshot gem #44

Open
zedtux opened this issue Jul 11, 2017 · 1 comment
Open

Capybara prune_strategy keep_last_run and capybara-screenshot gem #44

zedtux opened this issue Jul 11, 2017 · 1 comment

Comments

@zedtux
Copy link

zedtux commented Jul 11, 2017

First of all, thank you for this awesome gem 👍

I'm using the capybara-screenshot gem in order to have automatic screenshots when a test fails, but when I run my test suite, using zeus-parallel_tests, and a first test fails, a screenshot is generated, but later, in the case another test fails, the first screenshot is destroyed, and new ones are appearing.

I guess this come from that the fact that there are many processes running (like if they are alone), and as I'm using Capybara::Screenshot.prune_strategy = :keep_last_run, then the folder is destroyed/re-created as soon as a an error occurs.

How could this be addressed in order to prevent this behaviour?

@zedtux
Copy link
Author

zedtux commented Jul 18, 2018

Is this project abandoned?

@zedtux zedtux closed this as completed Jul 18, 2018
@zedtux zedtux reopened this Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant