Sha256: 02976aedb4791962907579b7bc5073fe2e25b261a9b3517b16c1998ae007a809

Contents?: true

Size: 302 Bytes

Versions: 6

Compression:

Stored size: 302 Bytes

Contents

require_relative 'capybara_init'

# pages
require_relative 'home_page'

RSpec.configure do |config|
  config.after(:each) do |result|
    Capybara.current_session.driver.quit
  end

  config.after do |result|
    Capybara.current_session.driver.save_screenshot 'error.png' if result.exception
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
appium_capybara-1.8.0 example/spec/spec_helper.rb
appium_capybara-1.7.0 example/spec/spec_helper.rb
appium_capybara-1.6.0 example/spec/spec_helper.rb
appium_capybara-1.5.1 example/spec/spec_helper.rb
appium_capybara-1.5.0 example/spec/spec_helper.rb
appium_capybara-1.4.1 example/spec/spec_helper.rb