Commit 43b5bf26 authored by Mike Greiling's avatar Mike Greiling

replace use of unsupported trigger method with click

parent 44224810
...@@ -83,7 +83,7 @@ feature 'Mini Pipeline Graph', :js do ...@@ -83,7 +83,7 @@ feature 'Mini Pipeline Graph', :js do
end end
before do before do
toggle.trigger('click') toggle.click
wait_for_requests wait_for_requests
end end
......
...@@ -18,7 +18,7 @@ feature 'Mini Pipeline Graph in Commit View', :js do ...@@ -18,7 +18,7 @@ feature 'Mini Pipeline Graph in Commit View', :js do
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