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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/lib/gitlab/page/main/login.stub.rb')
-rw-r--r--qa/lib/gitlab/page/main/login.stub.rb101
1 files changed, 101 insertions, 0 deletions
diff --git a/qa/lib/gitlab/page/main/login.stub.rb b/qa/lib/gitlab/page/main/login.stub.rb
new file mode 100644
index 00000000000..a4cef291616
--- /dev/null
+++ b/qa/lib/gitlab/page/main/login.stub.rb
@@ -0,0 +1,101 @@
+# 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
+ end
+ end
+ end
+end