Explicitly disable JS with other file formats

JavaScripts drivers emulate browser behavior and browsers might download
these files instead of opening them.
This commit is contained in:
Javi Martín
2021-03-27 13:10:35 +01:00
parent 5a7298cefc
commit 1747d85c90
3 changed files with 3 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ describe "Legislation" do
expect(page).to have_link "Comment 3"
end
scenario "excel download" do
scenario "excel download", :no_js do
visit summary_legislation_process_path(process)
click_link "Download summary"