Explicitly disable JS in test deleting milestone

There's a usability issue in certain cases in browsers: when the
milestones table is at the bottom of the screen and it fills the screen
width completely, hovering over the link to delete a milestone makes the
"Delete milestone" tooltip cause a horizontal scrollbar. The scrollbar
makes it impossible for users to click the link.

We should probably fix this usuability issue; for now, I'm keeping the
test the way it was.
This commit is contained in:
Javi Martín
2021-03-27 13:18:39 +01:00
parent 1747d85c90
commit 56317c771a

View File

@@ -108,7 +108,7 @@ shared_examples "admin_milestoneable" do |factory_name, path_name|
end
context "Delete" do
scenario "Remove milestone" do
scenario "Remove milestone", :no_js do
create(:milestone, milestoneable: milestoneable, title: "Title will it remove")
visit path