Remove redundant click in legislation spec
The link to edit the process is already present before clicking the "All" link, which meant the test failed sometimes because Capybara might try to click on the "Edit" link at the same time the page is changing due to the click on the "All" link". Due to this issue, this test has failed at least one in our CI [1]. [1] https://github.com/consul/consul/runs/2324773853
This commit is contained in:
@@ -26,8 +26,6 @@ describe "Admin legislation questions", :admin do
|
||||
click_link "Collaborative Legislation"
|
||||
end
|
||||
|
||||
click_link "All"
|
||||
|
||||
within("tr", text: "An example legislation process") { click_link "Edit" }
|
||||
click_link "Debate"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user