File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
integration/selenium/webdriver Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,6 @@ Supported browsers:
370
370
* ` safari-preview `
371
371
372
372
In addition to the [ Common Options Examples] ( #common-options-examples ) , here are some additional Ruby specific ones:
373
- * ` --test_arg "-tfocus" ` - test only [ focused specs] ( https://relishapp.com/rspec/rspec-core/v/3-12/docs/filtering/inclusion-filters )
374
373
* ` --test_arg "-eTimeouts" ` - test only specs which name include "Timeouts"
375
374
* ` --test_arg "<any other RSpec argument>" ` - pass any extra RSpec arguments (see ` bazel run @bundle//bin:rspec -- --help ` )
376
375
Original file line number Diff line number Diff line change 45
45
GlobalTestEnv . quit_driver
46
46
end
47
47
48
- c . filter_run focus : true if ENV [ 'focus' ]
48
+ c . filter_run_when_matching :focus
49
+ c . run_all_when_everything_filtered = true
50
+ c . default_formatter = c . files_to_run . count > 1 ? 'progress' : 'doc'
49
51
50
52
c . before do |example |
51
53
guards = WebDriver ::Support ::Guards . new ( example , bug_tracker : 'https://github.com/SeleniumHQ/selenium/issues' )
Original file line number Diff line number Diff line change @@ -58,7 +58,9 @@ def with_env(hash)
58
58
59
59
c . include Selenium ::WebDriver ::UnitSpecHelper
60
60
61
- c . filter_run focus : true if ENV [ 'focus' ]
61
+ c . filter_run_when_matching :focus
62
+ c . run_all_when_everything_filtered = true
63
+ c . default_formatter = c . files_to_run . count > 1 ? 'progress' : 'doc'
62
64
63
65
c . before do
64
66
# https://github.com/ruby/debug/issues/797
You can’t perform that action at this time.
0 commit comments