From 0375acd7f8c1072360506b2989ad047da092432d Mon Sep 17 00:00:00 2001 From: Jack Walker Date: Fri, 15 May 2020 11:41:13 +1000 Subject: [PATCH] Fixed BrowserStack timeout error handling. --- spec/beef/modules/debug/test_beef_debugs_spec.rb | 1 - .../browserstack/osx/catalina/catalina_safari_13.config.yml | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/beef/modules/debug/test_beef_debugs_spec.rb b/spec/beef/modules/debug/test_beef_debugs_spec.rb index a6c7bccac..0d4309b49 100644 --- a/spec/beef/modules/debug/test_beef_debugs_spec.rb +++ b/spec/beef/modules/debug/test_beef_debugs_spec.rb @@ -126,7 +126,6 @@ RSpec.describe 'BeEF Debug Command Modules:', :run_on_browserstack => true do rescue => exception if exception.class == NoMethodError && exception.message.include?('Failed to open TCP connection') print_info "Encountered possible false negative timeout error checking exception." - expect(exception).to include('hub-cloud.browserstack.com:80') else print_info "Error closing BrowserStack connection: #{exception}" end diff --git a/spec/support/browserstack/osx/catalina/catalina_safari_13.config.yml b/spec/support/browserstack/osx/catalina/catalina_safari_13.config.yml index 4e5bdb29e..5ca5f6be9 100644 --- a/spec/support/browserstack/osx/catalina/catalina_safari_13.config.yml +++ b/spec/support/browserstack/osx/catalina/catalina_safari_13.config.yml @@ -11,5 +11,4 @@ browser_caps: "browser": "safari" "browser_version": "13.0" "os": "osx" - "os_version": "catalina" - "browserstack.selenium_version": "3.5.2" \ No newline at end of file + "os_version": "catalina" \ No newline at end of file