1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

No longer need to skip test - fixed in current Chrome/chromedriver

This commit is contained in:
Thomas Walpole 2018-08-14 13:06:38 -07:00
parent 2f03dec14d
commit 7fee32b214

View file

@ -45,12 +45,7 @@ skipped_tests << :windows if ENV['TRAVIS'] && (ENV['SKIP_WINDOW'] || ENV['HEADLE
$stdout.puts `#{Selenium::WebDriver::Chrome.driver_path} --version` if ENV['CI']
Capybara::SpecHelper.run_specs TestSessions::Chrome, CHROME_DRIVER.to_s, capybara_skip: skipped_tests do |example|
case example.metadata[:description]
when /should fetch a response when sequentially visiting same destination with a target/
skip 'Chrome/chromedriver has an issue visiting URL with target after visiting same URL without target' if chrome_lt?(65.0, @session)
end
end
Capybara::SpecHelper.run_specs TestSessions::Chrome, CHROME_DRIVER.to_s, capybara_skip: skipped_tests
RSpec.describe 'Capybara::Session with chrome' do
include Capybara::SpecHelper