summaryrefslogtreecommitdiff
path: root/spec/support/capybara.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/capybara.rb')
-rw-r--r--spec/support/capybara.rb20
1 files changed, 11 insertions, 9 deletions
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb
index 57065400220..aea853d1c23 100644
--- a/spec/support/capybara.rb
+++ b/spec/support/capybara.rb
@@ -16,15 +16,17 @@ Capybara.server_port = ENV['CAPYBARA_PORT'] if ENV['CAPYBARA_PORT']
JSConsoleError = Class.new(StandardError)
# Filter out innocuous JS console messages
-JS_CONSOLE_FILTER = Regexp.union([
- '"[HMR] Waiting for update signal from WDS..."',
- '"[WDS] Hot Module Replacement enabled."',
- '"[WDS] Live Reloading enabled."',
- 'Download the Vue Devtools extension',
- 'Download the Apollo DevTools',
- "Unrecognized feature: 'interest-cohort'",
- 'Does this page need fixes or improvements?'
-])
+JS_CONSOLE_FILTER = Regexp.union(
+ [
+ '"[HMR] Waiting for update signal from WDS..."',
+ '"[WDS] Hot Module Replacement enabled."',
+ '"[WDS] Live Reloading enabled."',
+ 'Download the Vue Devtools extension',
+ 'Download the Apollo DevTools',
+ "Unrecognized feature: 'interest-cohort'",
+ 'Does this page need fixes or improvements?'
+ ]
+)
CAPYBARA_WINDOW_SIZE = [1366, 768].freeze