debugging

This commit is contained in:
Jack Walker
2020-04-23 09:28:53 +10:00
parent 91dbaa8931
commit c6f9f182eb

View File

@@ -74,6 +74,7 @@ RSpec.configure do |config|
@caps = CONFIG['common_caps'].merge(CONFIG['browser_caps'][TASK_ID])
@caps["name"] = ENV['name'] || example.metadata[:name] || example.metadata[:file_path].split('/').last.split('.').first
enable_local = @caps["browserstack.local"] && @caps["browserstack.local"].to_s == "true"
puts "enable_local is #{enable_local.to_s.upcase}"
# Code to start browserstack local before start of test
if enable_local