Commit 8a0cde81 authored by Stan Hu's avatar Stan Hu

Merge branch 'another-attempt-at-access_control_ce_spec-transient-failure' into 'master'

Another attempt at access_control_ce_spec

Closes #31827

See merge request !11123
parents 58d1cd6b de59bab8
......@@ -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
......
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