Commit d114feb9 authored by kushalpandya's avatar kushalpandya

Update form selector class name

parent 15b238e2
...@@ -9,7 +9,7 @@ feature 'Protected Tags', feature: true, js: true do ...@@ -9,7 +9,7 @@ feature 'Protected Tags', feature: true, js: true do
before { login_as(user) } before { login_as(user) }
def set_allowed_to(operation, option = 'Masters', form: '#new_protected_tag') def set_allowed_to(operation, option = 'Masters', form: '.new-protected-tag')
within form do within form do
find(".js-allowed-to-#{operation}").click find(".js-allowed-to-#{operation}").click
wait_for_ajax wait_for_ajax
......
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