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 33
33
34
34
group :test do
35
35
gem "generator_spec"
36
- gem "rspec-retry" # repeating flaky tests
36
+ gem "rspec-retry" # repeating flaky tests
37
+ gem "rspec-wait" , "~> 0.0.9"
37
38
end
Original file line number Diff line number Diff line change 174
174
declarative (< 0.1.0 )
175
175
declarative-option (< 0.2.0 )
176
176
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 )
177
181
rspec-core (3.8.0 )
178
182
rspec-support (~> 3.8.0 )
179
183
rspec-expectations (3.8.2 )
193
197
rspec-retry (0.6.2 )
194
198
rspec-core (> 3.3 )
195
199
rspec-support (3.8.0 )
200
+ rspec-wait (0.0.9 )
201
+ rspec (>= 3 , < 4 )
196
202
rubyzip (2.2.0 )
197
203
safe_yaml (1.0.5 )
198
204
selenium-webdriver (3.142.7 )
@@ -260,6 +266,7 @@ DEPENDENCIES
260
266
puma
261
267
rspec-rails (~> 3.8 )
262
268
rspec-retry
269
+ rspec-wait (~> 0.0.9 )
263
270
selenium-webdriver (~> 3.142 , >= 3.142.7 )
264
271
simplecov
265
272
sqlite3 (~> 1.3.13 )
Original file line number Diff line number Diff line change 39
39
require 'pry'
40
40
41
41
require 'rspec/retry'
42
+ require "rspec/wait"
42
43
43
44
44
45
RSpec . configure do |config |
50
51
51
52
# run retry only on features
52
53
config . around :each , :js do |ex |
53
- ex . run_with_retry retry : 5
54
+ ex . run_with_retry retry : 10
54
55
end
55
56
56
57
# callback to be run between retries
You can’t perform that action at this time.
0 commit comments