Skip to content

Commit

Permalink
Enable system test
Browse files Browse the repository at this point in the history
  • Loading branch information
kinoppyd committed Mar 19, 2024
1 parent ea66b38 commit 12a7d2f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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]
24 changes: 24 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -250,6 +272,7 @@ PLATFORMS
DEPENDENCIES
bcrypt (~> 3.1.16)
byebug
capybara
erb-formatter (~> 0.4.3)
imgkit
jsbundling-rails (~> 1.2)
Expand All @@ -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)
Expand Down
3 changes: 0 additions & 3 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 12a7d2f

Please sign in to comment.