summaryrefslogtreecommitdiff
path: root/qa/lib/gitlab/page/main/login.stub.rb
blob: a819ca4bcc8b5395cd69c8c34c6cd3455fff63a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# frozen_string_literal: true

module Gitlab
  module Page
    module Main
      module Login
        # @note Defined as +text_field :login_field+
        # @return [String] The text content or value of +login_field+
        def login_field
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # Set the value of login_field
        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     login.login_field = 'value'
        #   end
        # @param value [String] The value to set.
        def login_field=(value)
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login.login_field_element).to exist
        #   end
        # @return [Watir::TextField] The raw +TextField+ element
        def login_field_element
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login).to be_login_field
        #   end
        # @return [Boolean] true if the +login_field+ element is present on the page
        def login_field?
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @note Defined as +text_field :password_field+
        # @return [String] The text content or value of +password_field+
        def password_field
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # Set the value of password_field
        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     login.password_field = 'value'
        #   end
        # @param value [String] The value to set.
        def password_field=(value)
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login.password_field_element).to exist
        #   end
        # @return [Watir::TextField] The raw +TextField+ element
        def password_field_element
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login).to be_password_field
        #   end
        # @return [Boolean] true if the +password_field+ element is present on the page
        def password_field?
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @note Defined as +button :sign_in_button+
        # Clicks +sign_in_button+
        def sign_in_button
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login.sign_in_button_element).to exist
        #   end
        # @return [Watir::Button] The raw +Button+ element
        def sign_in_button_element
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login).to be_sign_in_button
        #   end
        # @return [Boolean] true if the +sign_in_button+ element is present on the page
        def sign_in_button?
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @note Defined as +button :accept_terms+
        # Clicks +accept_terms+
        def accept_terms
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login.accept_terms_element).to exist
        #   end
        # @return [Watir::Button] The raw +Button+ element
        def accept_terms_element
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login).to be_accept_terms
        #   end
        # @return [Boolean] true if the +accept_terms+ element is present on the page
        def accept_terms?
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @note Defined as +text_field :password_confirmation_field+
        # @return [String] The text content or value of +password_confirmation_field+
        def password_confirmation_field
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # Set the value of password_confirmation_field
        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     login.password_confirmation_field = 'value'
        #   end
        # @param value [String] The value to set.
        def password_confirmation_field=(value)
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login.password_confirmation_field_element).to exist
        #   end
        # @return [Watir::TextField] The raw +TextField+ element
        def password_confirmation_field_element
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login).to be_password_confirmation_field
        #   end
        # @return [Boolean] true if the +password_confirmation_field+ element is present on the page
        def password_confirmation_field?
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @note Defined as +button :change_password_button+
        # Clicks +change_password_button+
        def change_password_button
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login.change_password_button_element).to exist
        #   end
        # @return [Watir::Button] The raw +Button+ element
        def change_password_button_element
          # This is a stub, used for indexing. The method is dynamically generated.
        end

        # @example
        #   Gitlab::Page::Main::Login.perform do |login|
        #     expect(login).to be_change_password_button
        #   end
        # @return [Boolean] true if the +change_password_button+ element is present on the page
        def change_password_button?
          # This is a stub, used for indexing. The method is dynamically generated.
        end
      end
    end
  end
end