George S. Baugh 2 ani în urmă
părinte
comite
890a495c0a
3 a modificat fișierele cu 4 adăugiri și 26 ștergeri
  1. 3 0
      Changes
  2. 1 1
      dist.ini
  3. 0 25
      t/error.t

+ 3 - 0
Changes

@@ -1,5 +1,8 @@
 Revision history for Selenium-Remote-Driver
 
+1.45 2021-10-21 TEODESIAN
+    - Remove ill-advised test reaching out to saucelabs at install-time, vendors are the users' problem
+
 1.44 2021-03-26 TEODESIAN
     - Remove all usage of default profiles for Firefox when in direct binary mode.
 

+ 1 - 1
dist.ini

@@ -1,5 +1,5 @@
 name = Selenium-Remote-Driver
-version = 1.44
+version = 1.45
 author = George S. Baugh <george@troglodyne.net>
 author = Aditya Ivaturi <ivaturi@gmail.com>
 author = Daniel Gempesaw <gempesaw@gmail.com>

+ 0 - 25
t/error.t

@@ -43,29 +43,4 @@ LOCAL: {
           'Error message for not finding a selenium server is helpful' );
 }
 
-SAUCE: {
-  SKIP: {
-        my $host = 'ondemand.saucelabs.com';
-        my $port = 80;
-        my $sock = IO::Socket::INET->new(
-            PeerAddr => $host,
-            PeerPort => $port,
-        );
-
-        skip 'Cannot reach saucelabs for Sauce error case ', 1
-          unless $sock;
-
-        like(exception {
-            Selenium::Remote::Driver->new_from_caps(
-                remote_server_addr => $host,
-                port => $port,
-                desired_capabilities => {
-                    browserName => 'invalid'
-                }
-            );
-        }, qr/Sauce Labs/,
-             'Saucelabs errors are passed to user');
-
-    }
-}
 done_testing;