Quellcode durchsuchen

Prefer webdrivers gem over chrome-only

Andrew Swistak vor 6 Jahren
Ursprung
Commit
6317171acb
2 geänderte Dateien mit 6 neuen und 8 gelöschten Zeilen
  1. 1 1
      Gemfile
  2. 5 7
      Gemfile.lock

+ 1 - 1
Gemfile

@@ -53,7 +53,7 @@ group :test do
   gem 'capybara', '>= 2.15'
   gem 'selenium-webdriver'
   # Easy installation and use of chromedriver to run system tests with Chrome
-  gem 'chromedriver-helper'
+  gem 'webdrivers'
 end
 
 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem

+ 5 - 7
Gemfile.lock

@@ -104,8 +104,6 @@ GEM
       zeitwerk (~> 1.3, >= 1.3.1)
     addressable (2.6.0)
       public_suffix (>= 2.0.2, < 4.0)
-    archive-zip (0.12.0)
-      io-like (~> 0.3.0)
     bindex (0.7.0)
     bootsnap (1.4.3)
       msgpack (~> 1.0)
@@ -120,9 +118,6 @@ GEM
       xpath (~> 3.2)
     childprocess (0.9.0)
       ffi (~> 1.0, >= 1.0.11)
-    chromedriver-helper (2.1.1)
-      archive-zip (~> 0.10)
-      nokogiri (~> 1.8)
     coderay (1.1.2)
     concurrent-ruby (1.1.5)
     crass (1.0.4)
@@ -152,7 +147,6 @@ GEM
       domain_name (~> 0.5)
     i18n (1.6.0)
       concurrent-ruby (~> 1.0)
-    io-like (0.3.0)
     jbuilder (2.8.0)
       activesupport (>= 4.2.0)
       multi_json (>= 1.2)
@@ -275,6 +269,10 @@ GEM
       activemodel (>= 5.0)
       bindex (>= 0.4.0)
       railties (>= 5.0)
+    webdrivers (3.8.0)
+      nokogiri (~> 1.6)
+      rubyzip (~> 1.0)
+      selenium-webdriver (~> 3.0)
     webpacker (4.0.2)
       activesupport (>= 4.2)
       rack-proxy (>= 0.6.1)
@@ -292,7 +290,6 @@ PLATFORMS
 DEPENDENCIES
   bootsnap (>= 1.4.1)
   capybara (>= 2.15)
-  chromedriver-helper
   database_cleaner
   dotenv-rails
   factory_bot_rails
@@ -318,6 +315,7 @@ DEPENDENCIES
   spring-watcher-listen (~> 2.0.0)
   tzinfo-data
   web-console (>= 3.3.0)
+  webdrivers
   webpacker
 
 RUBY VERSION