module QA
  module Page
    module Project
      class Show < Page::Base
        def choose_repository_clone_http
          find('#clone-dropdown').click

          page.within('#clone-dropdown') do
            find('span', text: 'HTTP').click
          end
        end

        def repository_location
          find('#project_clone').value
        end

        def wait_for_push
          sleep 5
        end
      end
    end
  end
end

module QA
  module Page
    module Project
      class Show < Page::Base
        def choose_repository_clone_http
          find('#clone-dropdown').click

          page.within('.clone-options-dropdown') do
            click_link('HTTP')
          end
        end

        def repository_location
          find('#project_clone').value
        end

        def wait_for_push
          sleep 5
        end
      end
    end
  end
end

Make the `QA:Page::Project::Show` driver less brittle
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.
