Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cecaec80
Commit
cecaec80
authored
Jan 28, 2022
by
Chloe Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add state select to trial tests
Unquarantine fulfillment e2e tests
parent
6d4d3531
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
22 deletions
+9
-22
qa/qa/page/trials/new.rb
qa/qa/page/trials/new.rb
+1
-0
qa/qa/specs/features/ee/browser_ui/11_fulfillment/purchase/free_trial_spec.rb
.../ee/browser_ui/11_fulfillment/purchase/free_trial_spec.rb
+5
-7
qa/qa/specs/features/ee/browser_ui/11_fulfillment/purchase/purchase_ci_spec.rb
...ee/browser_ui/11_fulfillment/purchase/purchase_ci_spec.rb
+1
-5
qa/qa/specs/features/ee/browser_ui/11_fulfillment/purchase/purchase_storage_spec.rb
...owser_ui/11_fulfillment/purchase/purchase_storage_spec.rb
+1
-5
qa/qa/specs/features/ee/browser_ui/11_fulfillment/purchase/upgrade_group_spec.rb
.../browser_ui/11_fulfillment/purchase/upgrade_group_spec.rb
+1
-5
No files found.
qa/qa/page/trials/new.rb
View file @
cecaec80
...
...
@@ -12,6 +12,7 @@ module QA
select
:number_of_employees
text_field
:telephone_number
select
:country
select
:state
,
id:
'state'
button
:continue
end
end
...
...
qa/qa/specs/features/ee/browser_ui/11_fulfillment/purchase/free_trial_spec.rb
View file @
cecaec80
# frozen_string_literal: true
module
QA
RSpec
.
describe
'Fulfillment'
,
:requires_admin
,
only:
{
subdomain: :staging
},
quarantine:
{
only:
{
subdomain:
%i[staging]
},
issue:
"https://gitlab.com/gitlab-org/gitlab/-/issues/350856"
,
type: :broken
}
do
RSpec
.
describe
'Fulfillment'
,
:requires_admin
,
only:
{
subdomain: :staging
}
do
describe
'Purchase'
do
let
(
:api_client
)
{
Runtime
::
API
::
Client
.
as_admin
}
let
(
:user
)
do
...
...
@@ -102,7 +98,8 @@ module QA
company_name:
'QA Test Company'
,
number_of_employees:
'500 - 1,999'
,
telephone_number:
'555-555-5555'
,
country:
'United States of America'
country:
'United States of America'
,
state:
'CA'
}
end
...
...
@@ -111,8 +108,9 @@ module QA
# setter
new
.
company_name
=
customer_trial_info
[
:company_name
]
new
.
number_of_employees
=
customer_trial_info
[
:number_of_employees
]
new
.
telephone_number
=
customer_trial_info
[
:telephone_number
]
new
.
country
=
customer_trial_info
[
:country
]
new
.
telephone_number
=
customer_trial_info
[
:telephone_number
]
new
.
state
=
customer_trial_info
[
:state
]
new
.
continue
end
...
...
qa/qa/specs/features/ee/browser_ui/11_fulfillment/purchase/purchase_ci_spec.rb
View file @
cecaec80
...
...
@@ -3,11 +3,7 @@
module
QA
include
QA
::
Support
::
Helpers
::
Plan
RSpec
.
describe
'Fulfillment'
,
:requires_admin
,
only:
{
subdomain: :staging
},
quarantine:
{
only:
{
subdomain:
%i[staging]
},
issue:
"https://gitlab.com/gitlab-org/gitlab/-/issues/350856"
,
type: :broken
}
do
RSpec
.
describe
'Fulfillment'
,
:requires_admin
,
only:
{
subdomain: :staging
}
do
context
'Purchase CI minutes'
do
# the quantity of products to purchase
let
(
:purchase_quantity
)
{
5
}
...
...
qa/qa/specs/features/ee/browser_ui/11_fulfillment/purchase/purchase_storage_spec.rb
View file @
cecaec80
...
...
@@ -17,11 +17,7 @@ module QA
end
end
RSpec
.
describe
'Fulfillment'
,
:requires_admin
,
only:
{
subdomain: :staging
},
quarantine:
{
only:
{
subdomain:
%i[staging]
},
issue:
"https://gitlab.com/gitlab-org/gitlab/-/issues/350856"
,
type: :broken
}
do
RSpec
.
describe
'Fulfillment'
,
:requires_admin
,
only:
{
subdomain: :staging
}
do
let
(
:hash
)
{
SecureRandom
.
hex
(
4
)
}
let
(
:user
)
do
Resource
::
User
.
fabricate_via_api!
do
|
user
|
...
...
qa/qa/specs/features/ee/browser_ui/11_fulfillment/purchase/upgrade_group_spec.rb
View file @
cecaec80
...
...
@@ -3,11 +3,7 @@
module
QA
include
QA
::
Support
::
Helpers
::
Plan
RSpec
.
describe
'Fulfillment'
,
:requires_admin
,
only:
{
subdomain: :staging
},
quarantine:
{
only:
{
subdomain:
%i[staging]
},
issue:
"https://gitlab.com/gitlab-org/gitlab/-/issues/350856"
,
type: :broken
}
do
RSpec
.
describe
'Fulfillment'
,
:requires_admin
,
only:
{
subdomain: :staging
}
do
describe
'Purchase'
do
describe
'group plan'
do
let
(
:hash
)
{
SecureRandom
.
hex
(
4
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment