diff options
| author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-23 16:49:07 -0500 |
|---|---|---|
| committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-23 16:49:07 -0500 |
| commit | c7dd05e968dd515810d79688ecde08cb3ca725ec (patch) | |
| tree | 7de15349afd0c37590291a92365a08e390b5a37c /spec | |
| parent | e2d018c20577cd54e4d07a8446c1845c7f42050e (diff) | |
| download | gitlab-ce-c7dd05e968dd515810d79688ecde08cb3ca725ec.tar.gz | |
Fix protected branches access control spec
Diffstat (limited to 'spec')
| -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 17f319f49e9..5241c0fa6f1 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 @@ -10,7 +10,7 @@ shared_examples "protected branches > access control > CE" do unless allowed_to_push_button.text == access_type_name allowed_to_push_button.click - within(".dropdown.open .dropdown-menu") { click_on access_type_name } + within(".dropdown.show .dropdown-menu") { click_on access_type_name } end end @@ -55,7 +55,7 @@ shared_examples "protected branches > access control > CE" do unless allowed_to_merge_button.text == access_type_name allowed_to_merge_button.click - within(".dropdown.open .dropdown-menu") { click_on access_type_name } + within(".dropdown.show .dropdown-menu") { click_on access_type_name } end end |
