We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cadf36 commit 38d9c1cCopy full SHA for 38d9c1c
spec/dummy/spec/support/selenium_logger.rb
@@ -9,7 +9,9 @@
9
errors = []
10
11
page.driver.browser.manage.logs.get(:browser).each do |entry|
12
- next if entry.message.match?(/Download the React DevTools for a better development experience/)
+ # can't use match? on Ruby 2.2. Uncomment when Ruby 2.4 is used for all test platforms
13
+ # next if entry.message.match?(/Download the React DevTools for a better development experience/)
14
+ next if entry.message =~ /Download the React DevTools for a better development experience/
15
16
log_only_list.include?(entry.level) ? puts(entry.message) : errors << entry.message
17
end
0 commit comments