Skip to content

Commit 6b9c3dd

Browse files
Ian NorrisIan Norris
Ian Norris
authored and
Ian Norris
committed
add delay and point to the headless that includes the recording
1 parent 74d9edb commit 6b9c3dd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/spec/e2e/cbv_flow_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
@ngrok.tunnel_url,
3232
ENV["USER"]
3333
)
34-
end if @subscription_id && RECORD_OPTION == :all
34+
end if RECORD_OPTION == :all
3535
end
3636

3737
after(:all, js: true) do

app/spec/rails_helper.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
end
5555

5656
require 'billy/capybara/rspec'
57-
Capybara.javascript_driver = :selenium_billy
5857

5958
Billy.configure do |c|
6059
c.cache = true
@@ -80,7 +79,7 @@
8079

8180
RSpec.configure do |config|
8281
config.before(:each, type: :feature) do
83-
Capybara.current_driver = :selenium_chrome_headless
82+
Capybara.current_driver = :selenium_chrome_headless_billy
8483
end
8584

8685
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures

0 commit comments

Comments
 (0)