summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/protected_tags/access_control_ce_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/protected_tags/access_control_ce_spec.rb b/spec/features/protected_tags/access_control_ce_spec.rb
index de2556041e7..5b2baf8616c 100644
--- a/spec/features/protected_tags/access_control_ce_spec.rb
+++ b/spec/features/protected_tags/access_control_ce_spec.rb
@@ -5,7 +5,7 @@ RSpec.shared_examples "protected tags > access control > CE" do
set_protected_tag_name('master')
- within('.new_protected_tag') do
+ within('.js-new-protected-tag') do
allowed_to_create_button = find(".js-allowed-to-create")
unless allowed_to_create_button.text == access_type_name
@@ -31,7 +31,7 @@ RSpec.shared_examples "protected tags > access control > CE" do
within(".protected-tags-list") do
find(".js-allowed-to-create").click
-
+
within('.js-allowed-to-create-container') do
expect(first("li")).to have_content("Roles")
click_on access_type_name