summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-02-10 18:54:40 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-02-10 18:54:40 +0000
commit18455939ca42f1aeff6d524b046e392289877458 (patch)
treec9b744ba3ea0a5e31b5cf3f400927b54de74aa57
parent2895937c48871b35f6a54684dc27d1de4ad3a1ad (diff)
downloadgitlab-ce-18455939ca42f1aeff6d524b046e392289877458.tar.gz
Fix broken test to use trigger in order to not take tooltip overlaping in consideration
-rw-r--r--spec/features/merge_requests/mini_pipeline_graph_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_requests/mini_pipeline_graph_spec.rb b/spec/features/merge_requests/mini_pipeline_graph_spec.rb
index b08bd36bde9..84ad8765d8f 100644
--- a/spec/features/merge_requests/mini_pipeline_graph_spec.rb
+++ b/spec/features/merge_requests/mini_pipeline_graph_spec.rb
@@ -66,7 +66,7 @@ feature 'Mini Pipeline Graph', :js, :feature do
end
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')
end