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
path: root/qa/lib
diff options
context:
space:
mode:
Diffstat (limited to 'qa/lib')
-rw-r--r--qa/lib/gitlab/page/admin/dashboard.rb1
-rw-r--r--qa/lib/gitlab/page/admin/dashboard.stub.rb24
-rw-r--r--qa/lib/gitlab/page/admin/subscription.rb12
-rw-r--r--qa/lib/gitlab/page/admin/subscription.stub.rb186
-rw-r--r--qa/lib/gitlab/page/group/settings/usage_quotas.rb7
-rw-r--r--qa/lib/gitlab/page/trials/new.rb4
-rw-r--r--qa/lib/gitlab/page/trials/new.stub.rb241
-rw-r--r--qa/lib/gitlab/page/trials/select.rb1
-rw-r--r--qa/lib/gitlab/page/trials/select.stub.rb129
9 files changed, 476 insertions, 129 deletions
diff --git a/qa/lib/gitlab/page/admin/dashboard.rb b/qa/lib/gitlab/page/admin/dashboard.rb
index f1a732f8fac..b6ae49a0e3b 100644
--- a/qa/lib/gitlab/page/admin/dashboard.rb
+++ b/qa/lib/gitlab/page/admin/dashboard.rb
@@ -8,7 +8,6 @@ module Gitlab
h2 :users_in_license
h2 :billable_users
- h3 :number_of_users
end
end
end
diff --git a/qa/lib/gitlab/page/admin/dashboard.stub.rb b/qa/lib/gitlab/page/admin/dashboard.stub.rb
index 820acf79b9b..da717558133 100644
--- a/qa/lib/gitlab/page/admin/dashboard.stub.rb
+++ b/qa/lib/gitlab/page/admin/dashboard.stub.rb
@@ -51,30 +51,6 @@ module Gitlab
def billable_users?
# This is a stub, used for indexing. The method is dynamically generated.
end
-
- # @note Defined as +h3 :number_of_users+
- # @return [String] The text content or value of +number_of_users+
- def number_of_users
- # This is a stub, used for indexing. The method is dynamically generated.
- end
-
- # @example
- # Gitlab::Page::Admin::Dashboard.perform do |dashboard|
- # expect(dashboard.number_of_users_element).to exist
- # end
- # @return [Watir::H3] The raw +H3+ element
- def number_of_users_element
- # This is a stub, used for indexing. The method is dynamically generated.
- end
-
- # @example
- # Gitlab::Page::Admin::Dashboard.perform do |dashboard|
- # expect(dashboard).to be_number_of_users
- # end
- # @return [Boolean] true if the +number_of_users+ element is present on the page
- def number_of_users?
- # This is a stub, used for indexing. The method is dynamically generated.
- end
end
end
end
diff --git a/qa/lib/gitlab/page/admin/subscription.rb b/qa/lib/gitlab/page/admin/subscription.rb
index 058cf8d281e..e19f0580007 100644
--- a/qa/lib/gitlab/page/admin/subscription.rb
+++ b/qa/lib/gitlab/page/admin/subscription.rb
@@ -12,15 +12,11 @@ module Gitlab
label :terms_of_services, text: /I agree that/
button :remove_license
button :confirm_remove_license
- p :plan
- p :started
- p :name
- p :company
- p :email
- h2 :billable_users
- h2 :maximum_users
+ td :plan
+ td :name
+ td :company
+ td :email
h2 :users_in_subscription
- h2 :users_over_subscription
table :subscription_history
div :no_valid_license_alert, text: /no longer has a valid license/
diff --git a/qa/lib/gitlab/page/admin/subscription.stub.rb b/qa/lib/gitlab/page/admin/subscription.stub.rb
index 56a063e8978..9ed127f9281 100644
--- a/qa/lib/gitlab/page/admin/subscription.stub.rb
+++ b/qa/lib/gitlab/page/admin/subscription.stub.rb
@@ -4,7 +4,7 @@ module Gitlab
module Page
module Admin
module Subscription
- # @note Defined as +h6 :subscription_details+
+ # @note Defined as +div :subscription_details+
# @return [String] The text content or value of +subscription_details+
def subscription_details
# This is a stub, used for indexing. The method is dynamically generated.
@@ -14,7 +14,7 @@ module Gitlab
# Gitlab::Page::Admin::Subscription.perform do |subscription|
# expect(subscription.subscription_details_element).to exist
# end
- # @return [Watir::H6] The raw +H6+ element
+ # @return [Watir::Div] The raw +Div+ element
def subscription_details_element
# This is a stub, used for indexing. The method is dynamically generated.
end
@@ -62,6 +62,30 @@ module Gitlab
# This is a stub, used for indexing. The method is dynamically generated.
end
+ # @note Defined as +button :activate+
+ # Clicks +activate+
+ def activate
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Admin::Subscription.perform do |subscription|
+ # expect(subscription.activate_element).to exist
+ # end
+ # @return [Watir::Button] The raw +Button+ element
+ def activate_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Admin::Subscription.perform do |subscription|
+ # expect(subscription).to be_activate
+ # end
+ # @return [Boolean] true if the +activate+ element is present on the page
+ def activate?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
# @note Defined as +label :terms_of_services+
# @return [String] The text content or value of +terms_of_services+
def terms_of_services
@@ -86,79 +110,79 @@ module Gitlab
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +button :activate+
- # Clicks +activate+
- def activate
+ # @note Defined as +button :remove_license+
+ # Clicks +remove_license+
+ def remove_license
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription.activate_element).to exist
+ # expect(subscription.remove_license_element).to exist
# end
# @return [Watir::Button] The raw +Button+ element
- def activate_element
+ def remove_license_element
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription).to be_activate
+ # expect(subscription).to be_remove_license
# end
- # @return [Boolean] true if the +activate+ element is present on the page
- def activate?
+ # @return [Boolean] true if the +remove_license+ element is present on the page
+ def remove_license?
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +p :plan+
- # @return [String] The text content or value of +plan+
- def plan
+ # @note Defined as +button :confirm_remove_license+
+ # Clicks +confirm_remove_license+
+ def confirm_remove_license
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription.plan_element).to exist
+ # expect(subscription.confirm_remove_license_element).to exist
# end
- # @return [Watir::P] The raw +P+ element
- def plan_element
+ # @return [Watir::Button] The raw +Button+ element
+ def confirm_remove_license_element
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription).to be_plan
+ # expect(subscription).to be_confirm_remove_license
# end
- # @return [Boolean] true if the +plan+ element is present on the page
- def plan?
+ # @return [Boolean] true if the +confirm_remove_license+ element is present on the page
+ def confirm_remove_license?
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +p :started+
- # @return [String] The text content or value of +started+
- def started
+ # @note Defined as +td :plan+
+ # @return [String] The text content or value of +plan+
+ def plan
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription.started_element).to exist
+ # expect(subscription.plan_element).to exist
# end
- # @return [Watir::P] The raw +P+ element
- def started_element
+ # @return [Watir::Td] The raw +Td+ element
+ def plan_element
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription).to be_started
+ # expect(subscription).to be_plan
# end
- # @return [Boolean] true if the +started+ element is present on the page
- def started?
+ # @return [Boolean] true if the +plan+ element is present on the page
+ def plan?
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +p :name+
+ # @note Defined as +td :name+
# @return [String] The text content or value of +name+
def name
# This is a stub, used for indexing. The method is dynamically generated.
@@ -168,7 +192,7 @@ module Gitlab
# Gitlab::Page::Admin::Subscription.perform do |subscription|
# expect(subscription.name_element).to exist
# end
- # @return [Watir::P] The raw +P+ element
+ # @return [Watir::Td] The raw +Td+ element
def name_element
# This is a stub, used for indexing. The method is dynamically generated.
end
@@ -182,7 +206,7 @@ module Gitlab
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +p :company+
+ # @note Defined as +td :company+
# @return [String] The text content or value of +company+
def company
# This is a stub, used for indexing. The method is dynamically generated.
@@ -192,7 +216,7 @@ module Gitlab
# Gitlab::Page::Admin::Subscription.perform do |subscription|
# expect(subscription.company_element).to exist
# end
- # @return [Watir::P] The raw +P+ element
+ # @return [Watir::Td] The raw +Td+ element
def company_element
# This is a stub, used for indexing. The method is dynamically generated.
end
@@ -206,7 +230,7 @@ module Gitlab
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +p :email+
+ # @note Defined as +td :email+
# @return [String] The text content or value of +email+
def email
# This is a stub, used for indexing. The method is dynamically generated.
@@ -216,7 +240,7 @@ module Gitlab
# Gitlab::Page::Admin::Subscription.perform do |subscription|
# expect(subscription.email_element).to exist
# end
- # @return [Watir::P] The raw +P+ element
+ # @return [Watir::Td] The raw +Td+ element
def email_element
# This is a stub, used for indexing. The method is dynamically generated.
end
@@ -230,123 +254,99 @@ module Gitlab
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +h2 :billable_users+
- # @return [String] The text content or value of +billable_users+
- def billable_users
- # This is a stub, used for indexing. The method is dynamically generated.
- end
-
- # @example
- # Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription.billable_users_element).to exist
- # end
- # @return [Watir::H2] The raw +H2+ element
- def billable_users_element
- # This is a stub, used for indexing. The method is dynamically generated.
- end
-
- # @example
- # Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription).to be_billable_users
- # end
- # @return [Boolean] true if the +billable_users+ element is present on the page
- def billable_users?
- # This is a stub, used for indexing. The method is dynamically generated.
- end
-
- # @note Defined as +h2 :maximum_users+
- # @return [String] The text content or value of +maximum_users+
- def maximum_users
+ # @note Defined as +h2 :users_in_subscription+
+ # @return [String] The text content or value of +users_in_subscription+
+ def users_in_subscription
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription.maximum_users_element).to exist
+ # expect(subscription.users_in_subscription_element).to exist
# end
# @return [Watir::H2] The raw +H2+ element
- def maximum_users_element
+ def users_in_subscription_element
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription).to be_maximum_users
+ # expect(subscription).to be_users_in_subscription
# end
- # @return [Boolean] true if the +maximum_users+ element is present on the page
- def maximum_users?
+ # @return [Boolean] true if the +users_in_subscription+ element is present on the page
+ def users_in_subscription?
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +h2 :users_in_subscription+
- # @return [String] The text content or value of +users_in_subscription+
- def users_in_subscription
+ # @note Defined as +table :subscription_history+
+ # @return [String] The text content or value of +subscription_history+
+ def subscription_history
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription.users_in_subscription_element).to exist
+ # expect(subscription.subscription_history_element).to exist
# end
- # @return [Watir::H2] The raw +H2+ element
- def users_in_subscription_element
+ # @return [Watir::Table] The raw +Table+ element
+ def subscription_history_element
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription).to be_users_in_subscription
+ # expect(subscription).to be_subscription_history
# end
- # @return [Boolean] true if the +users_in_subscription+ element is present on the page
- def users_in_subscription?
+ # @return [Boolean] true if the +subscription_history+ element is present on the page
+ def subscription_history?
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +h2 :users_over_subscription+
- # @return [String] The text content or value of +users_over_subscription+
- def users_over_subscription
+ # @note Defined as +div :no_valid_license_alert+
+ # @return [String] The text content or value of +no_valid_license_alert+
+ def no_valid_license_alert
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription.users_over_subscription_element).to exist
+ # expect(subscription.no_valid_license_alert_element).to exist
# end
- # @return [Watir::H2] The raw +H2+ element
- def users_over_subscription_element
+ # @return [Watir::Div] The raw +Div+ element
+ def no_valid_license_alert_element
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription).to be_users_over_subscription
+ # expect(subscription).to be_no_valid_license_alert
# end
- # @return [Boolean] true if the +users_over_subscription+ element is present on the page
- def users_over_subscription?
+ # @return [Boolean] true if the +no_valid_license_alert+ element is present on the page
+ def no_valid_license_alert?
# This is a stub, used for indexing. The method is dynamically generated.
end
- # @note Defined as +table :subscription_history+
- # @return [String] The text content or value of +subscription_history+
- def subscription_history
+ # @note Defined as +h3 :no_active_subscription_title+
+ # @return [String] The text content or value of +no_active_subscription_title+
+ def no_active_subscription_title
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription.subscription_history_element).to exist
+ # expect(subscription.no_active_subscription_title_element).to exist
# end
- # @return [Watir::Table] The raw +Table+ element
- def subscription_history_element
+ # @return [Watir::H3] The raw +H3+ element
+ def no_active_subscription_title_element
# This is a stub, used for indexing. The method is dynamically generated.
end
# @example
# Gitlab::Page::Admin::Subscription.perform do |subscription|
- # expect(subscription).to be_subscription_history
+ # expect(subscription).to be_no_active_subscription_title
# end
- # @return [Boolean] true if the +subscription_history+ element is present on the page
- def subscription_history?
+ # @return [Boolean] true if the +no_active_subscription_title+ element is present on the page
+ def no_active_subscription_title?
# This is a stub, used for indexing. The method is dynamically generated.
end
end
diff --git a/qa/lib/gitlab/page/group/settings/usage_quotas.rb b/qa/lib/gitlab/page/group/settings/usage_quotas.rb
index 11d1dd78dbe..cdb0760ad9c 100644
--- a/qa/lib/gitlab/page/group/settings/usage_quotas.rb
+++ b/qa/lib/gitlab/page/group/settings/usage_quotas.rb
@@ -35,6 +35,13 @@ module Gitlab
span :container_registry_size
div :storage_purchased, 'data-testid': 'storage-purchased'
div :storage_purchase_successful_alert, text: /You have successfully purchased a storage/
+ span :project_repository_size
+ span :project_lfs_object_size
+ span :project_build_artifact_size
+ span :project_packages_size
+ span :project_wiki_size
+ span :project_snippets_size
+ span :project_containers_registry_size
# Pending members
div :pending_members
diff --git a/qa/lib/gitlab/page/trials/new.rb b/qa/lib/gitlab/page/trials/new.rb
index b2e6cbdb682..f7aa168e6bf 100644
--- a/qa/lib/gitlab/page/trials/new.rb
+++ b/qa/lib/gitlab/page/trials/new.rb
@@ -9,8 +9,8 @@ module Gitlab
text_field :first_name
text_field :last_name
text_field :company_name
- select :number_of_employees
- text_field :telephone_number
+ select :company_size
+ text_field :phone_number
select :country
select :state
button :continue
diff --git a/qa/lib/gitlab/page/trials/new.stub.rb b/qa/lib/gitlab/page/trials/new.stub.rb
new file mode 100644
index 00000000000..0b3dbaafacc
--- /dev/null
+++ b/qa/lib/gitlab/page/trials/new.stub.rb
@@ -0,0 +1,241 @@
+# frozen_string_literal: true
+
+module Gitlab
+ module Page
+ module Trials
+ module New
+ # @note Defined as +text_field :first_name+
+ # @return [String] The text content or value of +first_name+
+ def first_name
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # Set the value of first_name
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # new.first_name = 'value'
+ # end
+ # @param value [String] The value to set.
+ def first_name=(value)
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new.first_name_element).to exist
+ # end
+ # @return [Watir::TextField] The raw +TextField+ element
+ def first_name_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new).to be_first_name
+ # end
+ # @return [Boolean] true if the +first_name+ element is present on the page
+ def first_name?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +text_field :last_name+
+ # @return [String] The text content or value of +last_name+
+ def last_name
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # Set the value of last_name
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # new.last_name = 'value'
+ # end
+ # @param value [String] The value to set.
+ def last_name=(value)
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new.last_name_element).to exist
+ # end
+ # @return [Watir::TextField] The raw +TextField+ element
+ def last_name_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new).to be_last_name
+ # end
+ # @return [Boolean] true if the +last_name+ element is present on the page
+ def last_name?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +text_field :company_name+
+ # @return [String] The text content or value of +company_name+
+ def company_name
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # Set the value of company_name
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # new.company_name = 'value'
+ # end
+ # @param value [String] The value to set.
+ def company_name=(value)
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new.company_name_element).to exist
+ # end
+ # @return [Watir::TextField] The raw +TextField+ element
+ def company_name_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new).to be_company_name
+ # end
+ # @return [Boolean] true if the +company_name+ element is present on the page
+ def company_name?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +select :company_size+
+ # @return [String] The text content or value of +company_size+
+ def company_size
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new.company_size_element).to exist
+ # end
+ # @return [Watir::Select] The raw +Select+ element
+ def company_size_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new).to be_company_size
+ # end
+ # @return [Boolean] true if the +company_size+ element is present on the page
+ def company_size?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +text_field :phone_number+
+ # @return [String] The text content or value of +phone_number+
+ def phone_number
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # Set the value of phone_number
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # new.phone_number = 'value'
+ # end
+ # @param value [String] The value to set.
+ def phone_number=(value)
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new.phone_number_element).to exist
+ # end
+ # @return [Watir::TextField] The raw +TextField+ element
+ def phone_number_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new).to be_phone_number
+ # end
+ # @return [Boolean] true if the +phone_number+ element is present on the page
+ def phone_number?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +select :country+
+ # @return [String] The text content or value of +country+
+ def country
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new.country_element).to exist
+ # end
+ # @return [Watir::Select] The raw +Select+ element
+ def country_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new).to be_country
+ # end
+ # @return [Boolean] true if the +country+ element is present on the page
+ def country?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +select :state+
+ # @return [String] The text content or value of +state+
+ def state
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new.state_element).to exist
+ # end
+ # @return [Watir::Select] The raw +Select+ element
+ def state_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new).to be_state
+ # end
+ # @return [Boolean] true if the +state+ element is present on the page
+ def state?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +button :continue+
+ # Clicks +continue+
+ def continue
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new.continue_element).to exist
+ # end
+ # @return [Watir::Button] The raw +Button+ element
+ def continue_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::New.perform do |new|
+ # expect(new).to be_continue
+ # end
+ # @return [Boolean] true if the +continue+ element is present on the page
+ def continue?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+ end
+ end
+ end
+end
diff --git a/qa/lib/gitlab/page/trials/select.rb b/qa/lib/gitlab/page/trials/select.rb
index d4cf54805ea..ae807f99c25 100644
--- a/qa/lib/gitlab/page/trials/select.rb
+++ b/qa/lib/gitlab/page/trials/select.rb
@@ -8,7 +8,6 @@ module Gitlab
button :select_group, 'data-testid': 'base-dropdown-toggle'
div :group_dropdown, 'data-testid': 'base-dropdown-menu'
- text_field :new_group_name
button :start_your_free_trial
radio :trial_company
radio :trial_individual
diff --git a/qa/lib/gitlab/page/trials/select.stub.rb b/qa/lib/gitlab/page/trials/select.stub.rb
new file mode 100644
index 00000000000..0c61a58d35c
--- /dev/null
+++ b/qa/lib/gitlab/page/trials/select.stub.rb
@@ -0,0 +1,129 @@
+# frozen_string_literal: true
+
+module Gitlab
+ module Page
+ module Trials
+ module Select
+ # @note Defined as +button :select_group+
+ # Clicks +select_group+
+ def select_group
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select.select_group_element).to exist
+ # end
+ # @return [Watir::Button] The raw +Button+ element
+ def select_group_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select).to be_select_group
+ # end
+ # @return [Boolean] true if the +select_group+ element is present on the page
+ def select_group?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +div :group_dropdown+
+ # @return [String] The text content or value of +group_dropdown+
+ def group_dropdown
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select.group_dropdown_element).to exist
+ # end
+ # @return [Watir::Div] The raw +Div+ element
+ def group_dropdown_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select).to be_group_dropdown
+ # end
+ # @return [Boolean] true if the +group_dropdown+ element is present on the page
+ def group_dropdown?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +button :start_your_free_trial+
+ # Clicks +start_your_free_trial+
+ def start_your_free_trial
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select.start_your_free_trial_element).to exist
+ # end
+ # @return [Watir::Button] The raw +Button+ element
+ def start_your_free_trial_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select).to be_start_your_free_trial
+ # end
+ # @return [Boolean] true if the +start_your_free_trial+ element is present on the page
+ def start_your_free_trial?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +radio :trial_company+
+ # Clicks +trial_company+
+ def trial_company
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select.trial_company_element).to exist
+ # end
+ # @return [Watir::Radio] The raw +Radio+ element
+ def trial_company_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select).to be_trial_company
+ # end
+ # @return [Boolean] true if the +trial_company+ element is present on the page
+ def trial_company?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @note Defined as +radio :trial_individual+
+ # Clicks +trial_individual+
+ def trial_individual
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select.trial_individual_element).to exist
+ # end
+ # @return [Watir::Radio] The raw +Radio+ element
+ def trial_individual_element
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+
+ # @example
+ # Gitlab::Page::Trials::Select.perform do |select|
+ # expect(select).to be_trial_individual
+ # end
+ # @return [Boolean] true if the +trial_individual+ element is present on the page
+ def trial_individual?
+ # This is a stub, used for indexing. The method is dynamically generated.
+ end
+ end
+ end
+ end
+end