We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 899a83b commit c6250deCopy full SHA for c6250de
spec/spec_helper.rb
@@ -10,6 +10,11 @@
10
Capybara.server = :puma, { Silent: true }
11
Capybara.javascript_driver = :apparition
12
13
+#TODO: Remove temporary fix to ignore JavaScript errors
14
+Capybara.register_driver :apparition do |app|
15
+ Capybara::Apparition::Driver.new(app, {js_errors: false})
16
+end
17
+
18
# Requires supporting ruby files with custom matchers and macros, etc,
19
# in spec/support/ and its subdirectories.
20
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
0 commit comments