diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 67df4b67c39..7dc882cb25b 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -294,7 +294,8 @@ RSpec.configure do |config| allow: [ *MinioRunner.config.minio_urls, URI(MinioRunner::MinioBinary.platform_binary_url).host, - ], + ENV["CAPYBARA_REMOTE_DRIVER_URL"], + ].compact, ) if ENV["CAPYBARA_DEFAULT_MAX_WAIT_TIME"].present?