Commit 3dc8c312 authored by Kushal Pandya's avatar Kushal Pandya

Fix selector for form wrapper

parent 7d17fcea
......@@ -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
......
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