Commit 3f315370 authored by Tim Zallmann's avatar Tim Zallmann

Lets try with trigger('click')

parent 800d7fd9
...@@ -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.click toggle.trigger('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').click first('.mini-pipeline-graph-dropdown-toggle').trigger('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