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.
This commit is contained in:
Robert Speicher 2017-10-03 16:24:22 +02:00
parent 44a7c65448
commit 25ad3b7617

View file

@ -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