We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff6ec50 commit 81a08e3Copy full SHA for 81a08e3
spec/spec_helper.rb
@@ -39,7 +39,7 @@
39
require 'pry'
40
41
require 'rspec/retry'
42
-require "rspec/wait"
+require "rspec/wait"
43
44
RSpec.configure do |config|
45
# repeat flaky tests
@@ -50,14 +50,14 @@
50
51
# run retry only on features
52
config.around :each, :js do |ex|
53
- ex.run_with_retry retry: 10
+ ex.run_with_retry retry: 3
54
end
55
56
- # callback to be run between retries
+ # callback to be run between retries
57
config.retry_callback = proc do |ex|
58
# run some additional clean up task - can be filtered by example metadata
59
if ex.metadata[:js]
60
- Capybara.reset!
+ Capybara.reset!
61
62
63
# config.include Capybara::DSL
0 commit comments