Skip to content

Commit

Permalink
Autolab v2.11.1 (#1976)
Browse files Browse the repository at this point in the history
* Bump version to v2.11.1

* Disable build check
  • Loading branch information
damianhxy authored Sep 5, 2023
1 parent 286fb0a commit d0757a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class Application < Rails::Application
config.middleware.use Rack::Attack

# site version
config.site_version = "2.11.0"
config.site_version = "2.11.1"

# Set application host for mailer
config.action_mailer.default_url_options = { host: ENV['MAILER_HOST'] || "YOUR_APP_HOST" }
Expand Down
6 changes: 5 additions & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,13 @@
'goog:chromeOptions': { args: %w[headless] }
)

service_args = %w[--disable-build-check]
service = Selenium::WebDriver::Service.chrome(args: service_args)

Capybara::Selenium::Driver.new app,
browser: :chrome,
capabilities: capabilities
capabilities: capabilities,
service: service
end
# change to chrome to see execution on browser
Capybara.javascript_driver = :headless_chrome
Expand Down

0 comments on commit d0757a4

Please sign in to comment.