Closed mikecmpbll closed 9 years ago
Yeah, this is the downside with monkeypatches :-(
The gem is so tiny that you could really just lift the code into your project temporarily to diagnose the issue.
Wasn't a big issue, I just upgraded Capybara :), but thought fixing the dependency might stop this being a problem for anyone else. Great gem by the way, helped me find all those mistakes and ultimately cut about 12s off my test suite.
Cool. 12s out of what? That's pretty small. But anything for free is good :smile:
yeah, we have a quite small test suite with about a few dozen end-to-end capybara workflows and the gem rooted out about 5 slow finders, whole thing takes 30-35 seconds now so it's a nice % improvement.
Cool, that is significant!
Doesn't work with Capybara 2.1 or 2.2, because the method signature for synchronize() changed somewhere between 2.2 and 2.4, in 2.1 there is no 2nd argument for
options
so the gem causes any test that uses synchronize to fail withArgumentError: wrong number of arguments (2 for 0..1)
.