diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-10-03 17:24:22 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-10-03 17:24:22 +0300 |
commit | 25ad3b7617ba052c3aaa34ac3a830ca91b9c60d2 (patch) | |
tree | ec4ea299c9c1febc3c732f45bdca53a7aba32306 | |
parent | 44a7c654486e2873bc37212bafddf50a9c17e5d3 (diff) |
Make the `QA:Page::Project::Show` driver less brittle
This allows the test to continue even if the GitLab instance being
tested, or the user being used, had SSH access configured.
-rw-r--r-- | qa/qa/page/project/show.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb index 56a270d8fcc..68d9597c4d2 100644 --- a/qa/qa/page/project/show.rb +++ b/qa/qa/page/project/show.rb @@ -5,8 +5,8 @@ module QA def choose_repository_clone_http find('#clone-dropdown').click - page.within('#clone-dropdown') do - find('span', text: 'HTTP').click + page.within('.clone-options-dropdown') do + click_link('HTTP') end end |