Missing closing paren from last commit.

This commit is contained in:
Jack Walker
2020-05-18 16:11:47 +10:00
parent 443e8df251
commit d43e0bafb4
4 changed files with 4 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ RSpec.describe 'AutoRunEngine Test', :run_on_browserstack => true do
print_info "Exception Message: #{exception.message}"
if exception.message.include?('Failed to open TCP connection') ||
exception.class == Selenium::WebDriver::Error::UnknownError ||
(exception.class == NoMethodError && exception.message.include?('>')
(exception.class == NoMethodError && exception.message.include?('>'))
print_info 'Encountered BrowserStack false negative connection timeout issue'
print_info 'Exiting with success code to prevent failing full test suite'
print_info 'It would be advisable to rerun this test'

View File

@@ -102,7 +102,7 @@ RSpec.describe 'Browser Details Handler', :run_on_browserstack => true do
print_info "Exception Message: #{exception.message}"
if exception.message.include?('Failed to open TCP connection') ||
exception.class == Selenium::WebDriver::Error::UnknownError ||
(exception.class == NoMethodError && exception.message.include?('>')
(exception.class == NoMethodError && exception.message.include?('>'))
print_info 'Encountered BrowserStack false negative connection timeout issue'
print_info 'Exiting with success code to prevent failing full test suite'
print_info 'It would be advisable to rerun this test'

View File

@@ -93,7 +93,7 @@ RSpec.describe 'Browser hooking with Websockets', :run_on_browserstack => true d
print_info "Exception Message: #{exception.message}"
if exception.message.include?('Failed to open TCP connection') ||
exception.class == Selenium::WebDriver::Error::UnknownError ||
(exception.class == NoMethodError && exception.message.include?('>')
(exception.class == NoMethodError && exception.message.include?('>'))
print_info 'Encountered BrowserStack false negative connection timeout issue'
print_info 'Exiting with success code to prevent failing full test suite'
print_info 'It would be advisable to rerun this test'

View File

@@ -101,7 +101,7 @@ RSpec.describe 'BeEF Debug Command Modules:', :run_on_browserstack => true do
print_info "Exception Message: #{exception.message}"
if exception.message.include?('Failed to open TCP connection') ||
exception.class == Selenium::WebDriver::Error::UnknownError ||
(exception.class == NoMethodError && exception.message.include?('>')
(exception.class == NoMethodError && exception.message.include?('>'))
print_info 'Encountered BrowserStack false negative connection timeout issue'
print_info 'Exiting with success code to prevent failing full test suite'
print_info 'It would be advisable to rerun this test'