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

Avoid running modals and js specs under IE

This commit is contained in:
Aleksei Gusev 2018-03-25 19:50:32 +03:00
parent 59fbd4107f
commit 740423c464

View file

@ -14,14 +14,14 @@ module TestSessions
SeleniumIE = Capybara::Session.new(:selenium_ie, TestApp)
end
skipped_tests = %i[response_headers status_code trigger]
skipped_tests = %i[response_headers status_code trigger js modals]
$stdout.puts `#{Selenium::WebDriver::IE.driver_path} --version` if ENV['CI']
Capybara::SpecHelper.run_specs TestSessions::SeleniumIE, "selenium", capybara_skip: skipped_tests
RSpec.describe "Capybara::Session with Internet Explorer" do
RSpec.describe "Capybara::Session with Internet Explorer", capybara_skip: skipped_tests do
include Capybara::SpecHelper
include_examples "Capybara::Session", TestSessions::SeleniumIE, :selenium_ie
include_examples Capybara::RSpecMatchers, TestSessions::SeleniumIE, :selenium_ie
include_examples "Capybara::Session", TestSessions::SeleniumIE, :selenium_ie
include_examples Capybara::RSpecMatchers, TestSessions::SeleniumIE, :selenium_ie
end