Potential fix for erroring compound matcher.
This commit is contained in:
@@ -113,6 +113,6 @@ RSpec.describe 'Browser Details Handler', :run_on_browserstack => true do
|
||||
response = RestClient.get "#{RESTAPI_HOOKS}/#{@session}?token=#{@token}"
|
||||
details = JSON.parse(response.body)
|
||||
|
||||
expect(@driver.browser.to_s.downcase).to eq (details['browser.name.friendly'].downcase).or eq ('internet_explorer').or eq ('msedge')
|
||||
expect(@driver.browser.to_s.downcase).to eq(details['browser.name.friendly'].downcase).or eq('internet_explorer').or eq('msedge')
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user