Commit 25ad3b76 authored by Robert Speicher's avatar Robert Speicher

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.
parent 44a7c654
...@@ -5,8 +5,8 @@ module QA ...@@ -5,8 +5,8 @@ module QA
def choose_repository_clone_http def choose_repository_clone_http
find('#clone-dropdown').click find('#clone-dropdown').click
page.within('#clone-dropdown') do page.within('.clone-options-dropdown') do
find('span', text: 'HTTP').click click_link('HTTP')
end end
end end
......
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