Fix selector for form wrapper
This commit is contained in:
parent
7d17fcea84
commit
3dc8c3127b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue