diff --git a/Gemfile b/Gemfile index 9bcfdc3e..8b8cdf0c 100644 --- a/Gemfile +++ b/Gemfile @@ -40,5 +40,11 @@ group :development do gem "erb-formatter", "~> 0.4.3" end +group :test do + # Use system testing [https://guides.rubyonrails.org/testing.html#system-testing] + gem "capybara" + gem "selenium-webdriver" +end + # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] diff --git a/Gemfile.lock b/Gemfile.lock index a055617f..76fca0c5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -75,12 +75,23 @@ GEM minitest (>= 5.1) mutex_m tzinfo (~> 2.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) base64 (0.2.0) bcrypt (3.1.18) bigdecimal (3.1.6) builder (3.2.4) byebug (11.1.3) + capybara (3.40.0) + addressable + matrix + mini_mime (>= 0.1.3) + nokogiri (~> 1.11) + rack (>= 1.6.0) + rack-test (>= 0.6.3) + regexp_parser (>= 1.5, < 3.0) + xpath (~> 3.2) concurrent-ruby (1.2.2) connection_pool (2.4.1) crass (1.0.6) @@ -114,6 +125,7 @@ GEM net-pop net-smtp marcel (1.0.4) + matrix (0.4.2) mini_mime (1.1.5) mini_portile2 (2.8.1) minitest (5.17.0) @@ -143,6 +155,7 @@ GEM railties (>= 7.0.0) psych (5.1.2) stringio + public_suffix (5.0.4) puma (5.6.5) nio4r (~> 2.0) racc (1.6.2) @@ -212,6 +225,12 @@ GEM rubocop-ast (1.27.0) parser (>= 3.2.1.0) ruby-progressbar (1.12.0) + rubyzip (2.3.2) + selenium-webdriver (4.18.1) + base64 (~> 0.2) + rexml (~> 3.2, >= 3.2.5) + rubyzip (>= 1.2.2, < 3.0) + websocket (~> 1.0) stimulus-rails (1.3.3) railties (>= 6.0.0) stringio (3.1.0) @@ -235,10 +254,13 @@ GEM concurrent-ruby (~> 1.0) unicode-display_width (2.4.2) webrick (1.8.1) + websocket (1.2.10) websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) wkhtmltoimage-binary (0.12.5) + xpath (3.2.0) + nokogiri (~> 1.8) zeitwerk (2.6.7) PLATFORMS @@ -250,6 +272,7 @@ PLATFORMS DEPENDENCIES bcrypt (~> 3.1.16) byebug + capybara erb-formatter (~> 0.4.3) imgkit jsbundling-rails (~> 1.2) @@ -261,6 +284,7 @@ DEPENDENCIES rails (~> 7.1.3.2) rails-i18n (~> 7.0.0) rubocop (~> 1.18) + selenium-webdriver stimulus-rails (~> 1.3) tailwindcss-rails (~> 2.0) turbo-rails (~> 2.0) diff --git a/config/application.rb b/config/application.rb index fe8ca24e..41e53ae7 100644 --- a/config/application.rb +++ b/config/application.rb @@ -38,8 +38,5 @@ class Application < Rails::Application # # config.time_zone = "Central Time (US & Canada)" # config.eager_load_paths << Rails.root.join("extras") - - # Don't generate system test files. - config.generators.system_tests = nil end end