parent
c24904fbe3
commit
eba58fc191
4 changed files with 99 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ Capybara.javascript_driver = :apparition
|
|||
|
||||
# TODO: Remove temporary fix to ignore JavaScript errors
|
||||
Capybara.register_driver :apparition do |app|
|
||||
Capybara::Apparition::Driver.new(app, { js_errors: false })
|
||||
Capybara::Apparition::Driver.new(app, { js_errors: false, window_size: [1920, 1080] })
|
||||
end
|
||||
|
||||
# Requires supporting ruby files with custom matchers and macros, etc,
|
||||
|
|
@ -78,3 +78,6 @@ class ActionDispatch::Routing::RouteSet
|
|||
{ foodcoop: FoodsoftConfig.scope }.merge(options)
|
||||
end
|
||||
end
|
||||
|
||||
FactoryBot.definition_file_paths = %w(plugins/messages/spec/factories)
|
||||
FactoryBot.find_definitions
|
||||
Loading…
Add table
Add a link
Reference in a new issue