diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-11 16:54:05 -0500 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-11 16:54:05 -0500 |
commit | 3ac444b8da3a570cf79c3f9532e6e2d60b4033bd (patch) | |
tree | 517d3e837e952281f2dcfe09094fa538521e216c /spec/support/shared_examples/features | |
parent | 59bb5bc54f6b5d502cd9761c230134e1ead73364 (diff) | |
download | gitlab-ce-3ac444b8da3a570cf79c3f9532e6e2d60b4033bd.tar.gz |
Fix trigger elements and element is not clickable at this position
Diffstat (limited to 'spec/support/shared_examples/features')
-rw-r--r-- | spec/support/shared_examples/features/protected_branches_access_control_ce.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared_examples/features/protected_branches_access_control_ce.rb b/spec/support/shared_examples/features/protected_branches_access_control_ce.rb index 72bb0f2e9b9..5fde91512da 100644 --- a/spec/support/shared_examples/features/protected_branches_access_control_ce.rb +++ b/spec/support/shared_examples/features/protected_branches_access_control_ce.rb @@ -34,7 +34,7 @@ shared_examples "protected branches > access control > CE" do within('.js-allowed-to-push-container') do expect(first("li")).to have_content("Roles") - click_on access_type_name + find(:link, access_type_name).click end end @@ -79,7 +79,7 @@ shared_examples "protected branches > access control > CE" do within('.js-allowed-to-merge-container') do expect(first("li")).to have_content("Roles") - click_on access_type_name + find(:link, access_type_name).click end end |