diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-04-07 02:24:45 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-04-07 02:24:45 +0530 |
commit | 3dc8c3127bf96a820efc807c86e62fbffc9a5b0d (patch) | |
tree | e43815e78db8d8c4f242655f18f2f627732e201b | |
parent | 7d17fcea84760d4c8d94b03adc4a23ef733ad4e5 (diff) | |
download | gitlab-ce-3dc8c3127bf96a820efc807c86e62fbffc9a5b0d.tar.gz |
Fix selector for form wrapper
-rw-r--r-- | spec/features/protected_tags/access_control_ce_spec.rb | 4 |
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 |