Unverified Commit 43b5bf26 authored by Mike Greiling's avatar Mike Greiling
Browse files

replace use of unsupported trigger method with click

parent 44224810
...@@ -83,7 +83,7 @@ def visit_merge_request(format = :html) ...@@ -83,7 +83,7 @@ def visit_merge_request(format = :html)
end end
before do before do
toggle.trigger('click') toggle.click
wait_for_requests wait_for_requests
end end
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
expect(page).to have_selector('.mr-widget-pipeline-graph') expect(page).to have_selector('.mr-widget-pipeline-graph')
first('.mini-pipeline-graph-dropdown-toggle').trigger('click') first('.mini-pipeline-graph-dropdown-toggle').click
wait_for_requests wait_for_requests
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment