File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ group :test do
119119 gem "capybara"
120120 gem "capybara_accessible_selectors" ,
121121 github : "citizensadvice/capybara_accessible_selectors"
122+ gem "capybara-screenshot"
122123 gem "climate_control"
123124 gem "database_cleaner-active_record"
124125 gem "its"
Original file line number Diff line number Diff line change @@ -240,13 +240,18 @@ GEM
240240 rack-test (>= 0.6.3 )
241241 regexp_parser (>= 1.5 , < 3.0 )
242242 xpath (~> 3.2 )
243+ capybara-screenshot (1.0.27 )
244+ capybara (>= 1.0 , < 4 )
245+ launchy
243246 caxlsx (4.4.2 )
244247 htmlentities (~> 4.3 , >= 4.3.4 )
245248 marcel (~> 1.0 )
246249 nokogiri (~> 1.10 , >= 1.10.4 )
247250 rubyzip (>= 2.4 , < 4 )
248251 cgi (0.5.1 )
249252 charlock_holmes (0.7.9 )
253+ childprocess (5.1.0 )
254+ logger (~> 1.5 )
250255 climate_control (1.2.0 )
251256 coderay (1.1.3 )
252257 concurrent-ruby (1.3.6 )
435440 kramdown-parser-gfm (1.1.0 )
436441 kramdown (~> 2.0 )
437442 language_server-protocol (3.17.0.5 )
443+ launchy (3.1.1 )
444+ addressable (~> 2.8 )
445+ childprocess (~> 5.0 )
446+ logger (~> 1.6 )
438447 lint_roller (1.1.0 )
439448 listen (3.9.0 )
440449 rb-fsevent (~> 0.10 , >= 0.10.3 )
@@ -935,6 +944,7 @@ DEPENDENCIES
935944 bootsnap
936945 brakeman
937946 capybara
947+ capybara-screenshot
938948 capybara_accessible_selectors !
939949 caxlsx
940950 charlock_holmes
Original file line number Diff line number Diff line change 108108end
109109require "rspec/rails"
110110# Add additional requires below this line. Rails is not loaded until this point!
111+ require "capybara-screenshot/rspec"
111112require "rack_session_access/capybara"
112113require "console"
113114
114115Faker ::Config . locale = "en-GB"
115116
117+ Capybara . asset_host = "http://localhost:4000"
116118Console . logger . off!
117119Capybara . server = :falcon
118120
You can’t perform that action at this time.
0 commit comments