Skip to content
Snippets Groups Projects
Commit 18455939 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Fix broken test to use trigger in order to not take tooltip overlaping in consideration

parent 2895937c
No related branches found
No related tags found
No related merge requests found
Loading
@@ -66,7 +66,7 @@ feature 'Mini Pipeline Graph', :js, :feature do
Loading
@@ -66,7 +66,7 @@ feature 'Mini Pipeline Graph', :js, :feature do
end end
   
it 'should close when toggle is clicked again' do it 'should close when toggle is clicked again' do
toggle.click toggle.trigger('click')
   
expect(toggle.find(:xpath, '..')).not_to have_selector('.mini-pipeline-graph-dropdown-menu') expect(toggle.find(:xpath, '..')).not_to have_selector('.mini-pipeline-graph-dropdown-menu')
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment