Another change from .click -> .trigger('click') to make spec pass
This commit is contained in:
parent
6c94483890
commit
66de4776aa
|
@ -9,7 +9,7 @@ RSpec.shared_examples "protected branches > access control > CE" do
|
|||
allowed_to_push_button = find(".js-allowed-to-push")
|
||||
|
||||
unless allowed_to_push_button.text == access_type_name
|
||||
allowed_to_push_button.click
|
||||
allowed_to_push_button.trigger('click')
|
||||
within(".dropdown.open .dropdown-menu") { click_on access_type_name }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue