File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 3333
3434group :test do
3535 gem "generator_spec"
36- gem "rspec-retry" # repeating flaky tests
36+ gem "rspec-retry" # repeating flaky tests
37+ gem "rspec-wait" , "~> 0.0.9"
3738end
Original file line number Diff line number Diff line change 174174 declarative (< 0.1.0 )
175175 declarative-option (< 0.2.0 )
176176 uber (< 0.2.0 )
177+ rspec (3.8.0 )
178+ rspec-core (~> 3.8.0 )
179+ rspec-expectations (~> 3.8.0 )
180+ rspec-mocks (~> 3.8.0 )
177181 rspec-core (3.8.0 )
178182 rspec-support (~> 3.8.0 )
179183 rspec-expectations (3.8.2 )
193197 rspec-retry (0.6.2 )
194198 rspec-core (> 3.3 )
195199 rspec-support (3.8.0 )
200+ rspec-wait (0.0.9 )
201+ rspec (>= 3 , < 4 )
196202 rubyzip (2.2.0 )
197203 safe_yaml (1.0.5 )
198204 selenium-webdriver (3.142.7 )
@@ -260,6 +266,7 @@ DEPENDENCIES
260266 puma
261267 rspec-rails (~> 3.8 )
262268 rspec-retry
269+ rspec-wait (~> 0.0.9 )
263270 selenium-webdriver (~> 3.142 , >= 3.142.7 )
264271 simplecov
265272 sqlite3 (~> 1.3.13 )
Original file line number Diff line number Diff line change 3939require 'pry'
4040
4141require 'rspec/retry'
42+ require "rspec/wait"
4243
4344
4445RSpec . configure do |config |
5051
5152 # run retry only on features
5253 config . around :each , :js do |ex |
53- ex . run_with_retry retry : 5
54+ ex . run_with_retry retry : 10
5455 end
5556
5657 # callback to be run between retries
You can’t perform that action at this time.
0 commit comments