lib/gridium.rb in gridium-0.2.1 vs lib/gridium.rb in gridium-0.2.2

- old
+ new

@@ -6,10 +6,11 @@ require 'element' require 'element_extensions' require 'element_verification' require 'page' require 's3' +require 'testrail' module Gridium class << self attr_accessor :config end @@ -20,10 +21,11 @@ end class Config attr_accessor :report_dir, :browser_source, :target_environment, :browser, :url, :page_load_timeout, :element_timeout, :visible_elements_only, :log_level attr_accessor :highlight_verifications, :highlight_duration, :screenshot_on_failure, :screenshots_to_s3, :project_name_for_s3, :subdirectory_name_for_s3 + attr_accessor :testrail def initialize @report_dir = Dir.home @browser_source = :local #if browser source is set to remote, target environment needs to be set properly @target_environment = "localhost" @@ -37,8 +39,10 @@ @highlight_duration = 0.100 @screenshot_on_failure = false @screenshots_to_s3 = false @project_name_for_s3 = 'gridium' @subdirectory_name_for_s3 = '' #rely on GridiumS3 default + @testrail = false end end + end