Use anchors in comments order and pagination links
It was a bit frustrating to click on one of the order elements or the link to the next page and having to scroll down again until reaching the comments.
This commit is contained in:
@@ -161,6 +161,7 @@ describe "Internal valuation comments on Budget::Investments" do
|
||||
end
|
||||
|
||||
expect(page).to have_css(".comment", count: 2)
|
||||
expect(page).to have_current_path(/#comments/, url: true)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user