2021-10-27 15:23:28 +05:30
|
|
|
# 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
|
2021-11-18 22:05:49 +05:30
|
|
|
|
|
|
|
# @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
|
2021-10-27 15:23:28 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|