class CustomersDot::Page::Login
Public Instance Methods
@note Defined as +div :failure_alert+ @return [String] The text content or value of failure_alert
# File lib/customers_dot/page/login.stub.rb, line 100 def failure_alert # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login).to be_failure_alert end
@return [Boolean] true if the failure_alert
element is present on the page
# File lib/customers_dot/page/login.stub.rb, line 118 def failure_alert? # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login.failure_alert_element).to exist end
@return [Watir::Div] The raw Div
element
# File lib/customers_dot/page/login.stub.rb, line 109 def failure_alert_element # This is a stub, used for indexing. The method is dynamically generated. end
@note Defined as +text_field :password+ @return [String] The text content or value of password
# File lib/customers_dot/page/login.stub.rb, line 42 def password # This is a stub, used for indexing. The method is dynamically generated. end
Set the value of password @example
CustomersDot::Page::Login.perform do |login| login.password = 'value' end
@param value [String] The value to set.
# File lib/customers_dot/page/login.stub.rb, line 52 def password=(value) # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login).to be_password end
@return [Boolean] true if the password
element is present on the page
# File lib/customers_dot/page/login.stub.rb, line 70 def password? # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login.password_element).to exist end
@return [Watir::TextField] The raw TextField
element
# File lib/customers_dot/page/login.stub.rb, line 61 def password_element # This is a stub, used for indexing. The method is dynamically generated. end
@note Defined as +button :sign_in+ Clicks sign_in
# File lib/customers_dot/page/login.stub.rb, line 76 def sign_in # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login).to be_sign_in end
@return [Boolean] true if the sign_in
element is present on the page
# File lib/customers_dot/page/login.stub.rb, line 94 def sign_in? # This is a stub, used for indexing. The method is dynamically generated. end
Sign in using a specified username and password @param [String] username to sign in with @param [String] password to sign in with
# File lib/customers_dot/page/login.rb, line 18 def sign_in_as(username:, password:) self.username = username self.password = password sign_in end
@example
CustomersDot::Page::Login.perform do |login| expect(login.sign_in_element).to exist end
@return [Watir::Button] The raw Button
element
# File lib/customers_dot/page/login.stub.rb, line 85 def sign_in_element # This is a stub, used for indexing. The method is dynamically generated. end
@note Defined as +button :sign_in_via_gitlab+ Clicks sign_in_via_gitlab
# File lib/customers_dot/page/login.stub.rb, line 148 def sign_in_via_gitlab # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login).to be_sign_in_via_gitlab end
@return [Boolean] true if the sign_in_via_gitlab
element is present on the page
# File lib/customers_dot/page/login.stub.rb, line 166 def sign_in_via_gitlab? # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login.sign_in_via_gitlab_element).to exist end
@return [Watir::Button] The raw Button
element
# File lib/customers_dot/page/login.stub.rb, line 157 def sign_in_via_gitlab_element # This is a stub, used for indexing. The method is dynamically generated. end
@note Defined as +div :successful_gitlab_auth+ @return [String] The text content or value of successful_gitlab_auth
# File lib/customers_dot/page/login.stub.rb, line 124 def successful_gitlab_auth # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login).to be_successful_gitlab_auth end
@return [Boolean] true if the successful_gitlab_auth
element is present on the page
# File lib/customers_dot/page/login.stub.rb, line 142 def successful_gitlab_auth? # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login.successful_gitlab_auth_element).to exist end
@return [Watir::Div] The raw Div
element
# File lib/customers_dot/page/login.stub.rb, line 133 def successful_gitlab_auth_element # This is a stub, used for indexing. The method is dynamically generated. end
@note Defined as +text_field :username+ @return [String] The text content or value of username
# File lib/customers_dot/page/login.stub.rb, line 8 def username # This is a stub, used for indexing. The method is dynamically generated. end
Set the value of username @example
CustomersDot::Page::Login.perform do |login| login.username = 'value' end
@param value [String] The value to set.
# File lib/customers_dot/page/login.stub.rb, line 18 def username=(value) # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login).to be_username end
@return [Boolean] true if the username
element is present on the page
# File lib/customers_dot/page/login.stub.rb, line 36 def username? # This is a stub, used for indexing. The method is dynamically generated. end
@example
CustomersDot::Page::Login.perform do |login| expect(login.username_element).to exist end
@return [Watir::TextField] The raw TextField
element
# File lib/customers_dot/page/login.stub.rb, line 27 def username_element # This is a stub, used for indexing. The method is dynamically generated. end