Commit f420cde3 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'further-attempt-to-fix-protected_tags_spec-ee' into 'master'

Try waiting for previous dropdown to definitly close before going to click

See merge request !1806
parents 91db36b6 b58573a2
Pipeline #8026213 failed with stages
in 96 minutes and 21 seconds
......@@ -9,7 +9,7 @@
= f.label :name, class: 'col-md-2 text-right' do
= render partial: "projects/protected_tags/dropdown", locals: { f: f }
= link_to 'Wildcards', help_page_path('user/project/protected_tags', anchor: 'wildcard-protected-tags')
......@@ -10,7 +10,8 @@ RSpec.shared_examples "protected tags > access control > CE" do
unless allowed_to_create_button.text == access_type_name
within(" .dropdown-menu") { click_on access_type_name }
find('.create_access_levels-container .dropdown-menu li', match: :first)
within('.create_access_levels-container .dropdown-menu') { click_on access_type_name }
......@@ -11,6 +11,7 @@ feature 'Projected Tags', feature: true, js: true do
click_on("Create wildcard #{tag_name}")
find('.protected-tags-dropdown .dropdown-menu', visible: false)
describe "explicit protected tags" do
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