Explicitly use rack driver in IE tests

Since we need to fake what happens to Internet Explorer users, we can't
run the test on a real browser.
This commit is contained in:
Javi Martín
2021-03-27 00:42:45 +01:00
parent 5f0c422eb3
commit 38edc51e3f

View File

@@ -105,7 +105,7 @@ describe "Home" do
end
end
describe "IE alert" do
describe "IE alert", :no_js do
scenario "IE visitors are presented with an alert until they close it", :page_driver do
# Selenium API does not include page request/response inspection methods
# so we must use Capybara::RackTest driver to set the browser's headers