summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-05 16:42:56 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-05 16:42:56 +0100
commitde59bab80989eba44c38a129a235900cf71ff0b5 (patch)
tree6c604f3c42c3d0be7f829369e13632656c18bfd2
parentc89849af47dc3ce788adbc7ef06af8a39a5347fd (diff)
downloadgitlab-ce-another-attempt-at-access_control_ce_spec-transient-failure.tar.gz
Another attempt at access_control_ce_specanother-attempt-at-access_control_ce_spec-transient-failure
-rw-r--r--spec/features/protected_tags/access_control_ce_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/protected_tags/access_control_ce_spec.rb b/spec/features/protected_tags/access_control_ce_spec.rb
index a04fbcdd15f..12622cd548a 100644
--- a/spec/features/protected_tags/access_control_ce_spec.rb
+++ b/spec/features/protected_tags/access_control_ce_spec.rb
@@ -9,7 +9,7 @@ RSpec.shared_examples "protected tags > access control > CE" do
allowed_to_create_button = find(".js-allowed-to-create")
unless allowed_to_create_button.text == access_type_name
- allowed_to_create_button.click
+ allowed_to_create_button.trigger('click')
find('.create_access_levels-container .dropdown-menu li', match: :first)
within('.create_access_levels-container .dropdown-menu') { click_on access_type_name }
end