Sha256: 671e8ba0f6b3590a1fd9d5f9c9f99b5e900d7e4d34a05e0cdb54f061f7a1f603

Contents?: true

Size: 386 Bytes

Versions: 5

Compression:

Stored size: 386 Bytes

Contents

require 'watir_drops'
require 'watir_model'
require 'pry'

Watir.default_timeout = 15

RSpec.configure do |config|

  config.before(:suite) do

  end

  config.before(:each) do
    WatirDrops::PageObject.browser = Watir::Browser.new :chrome
    WatirDrops::PageObject.browser.window.maximize
  end

  config.after(:each) do |scenario|
    WatirDrops::PageObject.browser.close
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
automation_wizard-2.0.4 lib/automation_wizard/generators/project/spec_helper.rb
automation_wizard-2.0.3 lib/automation_wizard/generators/project/spec_helper.rb
automation_wizard-2.0.2 lib/automation_wizard/generators/project/spec_helper.rb
automation_wizard-2.0.1 lib/automation_wizard/generators/project/spec_helper.rb
automation_wizard-2.0 lib/automation_wizard/generators/project/spec_helper.rb