Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new.rb « group « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cb743a7bf11975a996d1e803835722e79e6bd927 (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 Group
      class New < Page::Base
        def set_path(path)
          fill_in 'group_path', with: path
        end

        def set_description(description)
          fill_in 'group_description', with: description
        end

        def set_visibility(visibility)
          choose visibility
        end

        def create
          click_button 'Create group'
        end
      end
    end
  end
end