summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/show.rb
blob: 56a270d8fcc80beaf0839ec4452f961cf100cbd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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