summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-06-26 14:33:13 +0000
committerPhil Hughes <me@iamphill.com>2017-06-26 14:33:13 +0000
commite4c3b03569b92d6fa115cebf6d50d817c70610fe (patch)
tree488627dc201e922f54be3ba3bb5f7994db7a63b2
parent1059c2024f1591062df142ece5e30d54b25597c0 (diff)
parent2fb004ea861394550566afef06072d8c62813670 (diff)
downloadgitlab-ce-e4c3b03569b92d6fa115cebf6d50d817c70610fe.tar.gz
Merge branch '34302-update-test' into 'master'
Fix click not being able to find the current element to use trigger('click') instead Closes #34302 See merge request !12447
-rw-r--r--spec/features/projects/environments/environments_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/environments/environments_spec.rb b/spec/features/projects/environments/environments_spec.rb
index 83883dba0ba..cf4d996a32d 100644
--- a/spec/features/projects/environments/environments_spec.rb
+++ b/spec/features/projects/environments/environments_spec.rb
@@ -151,7 +151,7 @@ feature 'Environments page', :feature, :js do
find('.js-dropdown-play-icon-container').click
expect(page).to have_content(action.name.humanize)
- expect { find('.js-manual-action-link').click }
+ expect { find('.js-manual-action-link').trigger('click') }
.not_to change { Ci::Pipeline.count }
end