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:
parent
59fbd4107f
commit
740423c464
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue