OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/spec/support/poltergeist.rb

13 lines
326 B

require 'capybara/poltergeist'
# Disable using poltergeist until we upgraded jenkins workers
# Capybara.javascript_driver = :poltergeist
Capybara.register_driver :poltergeist do |app|
options = {
js_errors: false,
window_size: [1200, 1000],
timeout: 60
}
Capybara::Poltergeist::Driver.new(app, options)
end