Skip to content

Commit

Permalink
fix #476
Browse files Browse the repository at this point in the history
  • Loading branch information
teodesian committed Oct 21, 2021
1 parent b8e4414 commit 890a495
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 26 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
25 changes: 0 additions & 25 deletions t/error.t
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 890a495

Please sign in to comment.