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:
parent
44a7c65448
commit
25ad3b7617
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue