From 740423c46491a28bad312b664c277f7a2a28a71d Mon Sep 17 00:00:00 2001 From: Aleksei Gusev Date: Sun, 25 Mar 2018 19:50:32 +0300 Subject: [PATCH] Avoid running modals and js specs under IE --- spec/selenium_spec_ie.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/selenium_spec_ie.rb b/spec/selenium_spec_ie.rb index 0bea87e5..427fdd7e 100644 --- a/spec/selenium_spec_ie.rb +++ b/spec/selenium_spec_ie.rb @@ -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