From d0757a419b5bf0a6cde6d66c5f6e61c9d5bc55dd Mon Sep 17 00:00:00 2001 From: Damian Ho Date: Tue, 5 Sep 2023 15:21:54 -0400 Subject: [PATCH] Autolab v2.11.1 (#1976) * Bump version to v2.11.1 * Disable build check --- config/application.rb | 2 +- spec/rails_helper.rb | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/application.rb b/config/application.rb index ddc038b93..90567b7d6 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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" } diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 29a2a45d2..5c904e350 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -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