File tree Expand file tree Collapse file tree 3 files changed +15
-21
lines changed Expand file tree Collapse file tree 3 files changed +15
-21
lines changed Original file line number Diff line number Diff line change 58
58
59
59
group :test do
60
60
gem "capybara" # Acceptance test framework for web applications [https://github.com/teamcapybara/capybara]
61
- gem "selenium-webdriver" # Ruby bindings for Selenium [https://www.rubydoc.info/gems/selenium-webdriver/frames]
62
61
gem "cuprite" # Headless Chrome driver for Capybara [https://github.com/rubycdp/cuprite]
63
62
gem "simplecov" , require : false # Code coverage for Ruby [https://github.com/simplecov-ruby/simplecov]
64
63
gem "simplecov-tailwindcss" , require : false # Alternative HTML formatter for SimpleCov [https://github.com/chiefpansancolt/simplecov-tailwindcss]
65
64
gem "simplecov-cobertura" , require : false # Produces Cobertura formatted XML from SimpleCov. [https://github.com/dashingrocket/simplecov-cobertura]
66
65
gem "webmock" , require : false # Library for stubbing HTTP requests [https://github.com/bblimke/webmock]
66
+
67
+ # Uncomment the following line and bundle to use Selenium with Firefox
68
+ # gem "selenium-webdriver" # Ruby bindings for Selenium [https://www.rubydoc.info/gems/selenium-webdriver/frames]
67
69
end
68
70
69
71
group :development , :test do
Original file line number Diff line number Diff line change 257
257
logfmt (>= 0.0.10 )
258
258
sqlite3
259
259
logfmt (0.0.10 )
260
- logger (1.6.0 )
261
260
loofah (2.22.0 )
262
261
crass (~> 1.0.2 )
263
262
nokogiri (>= 1.12.0 )
428
427
ruby-progressbar (1.13.0 )
429
428
ruby_wasm (2.6.2-arm64-darwin )
430
429
ruby_wasm (2.6.2-x86_64-linux )
431
- rubyzip (2.3.2 )
432
430
sanitize (6.1.1 )
433
431
crass (~> 1.0.2 )
434
432
nokogiri (>= 1.12.0 )
435
- selenium-webdriver (4.23.0 )
436
- base64 (~> 0.2 )
437
- logger (~> 1.4 )
438
- rexml (~> 3.2 , >= 3.2.5 )
439
- rubyzip (>= 1.2.2 , < 3.0 )
440
- websocket (~> 1.0 )
441
433
sexp_processor (4.17.2 )
442
434
simplecov (0.22.0 )
443
435
docile (~> 1.1 )
533
525
crack (>= 0.3.2 )
534
526
hashdiff (>= 0.4.0 , < 2.0.0 )
535
527
webrick (1.8.1 )
536
- websocket (1.2.11 )
537
528
websocket-driver (0.7.6 )
538
529
websocket-extensions (>= 0.1.0 )
539
530
websocket-extensions (0.1.5 )
@@ -586,7 +577,6 @@ DEPENDENCIES
586
577
rouge
587
578
rspec-rails
588
579
ruby_wasm (~> 2.5 )
589
- selenium-webdriver
590
580
simplecov
591
581
simplecov-cobertura
592
582
simplecov-tailwindcss
Original file line number Diff line number Diff line change 13
13
expect ( page ) . to have_button ( "Install to Homescreen" )
14
14
end
15
15
16
- context "firefox" do
17
- before do
18
- driven_by ( :selenium , using : :headless_firefox )
19
- end
16
+ # To run the following test, add selenium-webdriver to Gemfile
17
+ #
18
+ # context "firefox" do
19
+ # before do
20
+ # driven_by(:selenium, using: :headless_firefox)
21
+ # end
20
22
21
- it "renders the Install to Homescreen button" do
22
- visit "/pwa-showcase"
23
+ # it "renders the Install to Homescreen button" do
24
+ # visit "/pwa-showcase"
23
25
24
- click_link "Install to Homescreen"
26
+ # click_link "Install to Homescreen"
25
27
26
- expect ( page ) . to have_content ( "PWA installation is not currently supported in Firefox on desktop." )
27
- end
28
- end
28
+ # expect(page).to have_content("PWA installation is not currently supported in Firefox on desktop.")
29
+ # end
30
+ # end
29
31
end
You can’t perform that action at this time.
0 commit comments