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
9614e370
Commit
9614e370
authored
Mar 01, 2021
by
Chloe Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add qa-selector to elements on checkout page
parent
6ebd07e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
6 deletions
+26
-6
ee/app/assets/javascripts/subscriptions/new/components/checkout/billing_address.vue
...subscriptions/new/components/checkout/billing_address.vue
+18
-5
ee/app/assets/javascripts/subscriptions/new/components/checkout/subscription_details.vue
...riptions/new/components/checkout/subscription_details.vue
+8
-1
No files found.
ee/app/assets/javascripts/subscriptions/new/components/checkout/billing_address.vue
View file @
9614e370
...
...
@@ -144,22 +144,35 @@ export default {
v-autofocusonshow
:options=
"countryOptionsWithDefault"
class=
"js-country"
data-qa-selector=
"country"
@
change=
"fetchStates"
/>
</gl-form-group>
<gl-form-group
:label=
"$options.i18n.streetAddressLabel"
label-size=
"sm"
class=
"mb-3"
>
<gl-form-input
v-model=
"streetAddressLine1Model"
type=
"text"
/>
<gl-form-input
v-model=
"streetAddressLine2Model"
type=
"text"
class=
"mt-2"
/>
<gl-form-input
v-model=
"streetAddressLine1Model"
type=
"text"
data-qa-selector=
"street_address_1"
/>
<gl-form-input
v-model=
"streetAddressLine2Model"
type=
"text"
data-qa-selector=
"street_address_2"
/>
</gl-form-group>
<gl-form-group
:label=
"$options.i18n.cityLabel"
label-size=
"sm"
class=
"mb-3"
>
<gl-form-input
v-model=
"cityModel"
type=
"text"
/>
<gl-form-input
v-model=
"cityModel"
type=
"text"
data-qa-selector=
"city"
/>
</gl-form-group>
<div
class=
"combined d-flex"
>
<gl-form-group
:label=
"$options.i18n.stateLabel"
label-size=
"sm"
class=
"mr-3 w-50"
>
<gl-form-select
v-model=
"countryStateModel"
:options=
"stateOptionsWithDefault"
/>
<gl-form-select
v-model=
"countryStateModel"
:options=
"stateOptionsWithDefault"
data-qa-selector=
"state"
/>
</gl-form-group>
<gl-form-group
:label=
"$options.i18n.zipCodeLabel"
label-size=
"sm"
class=
"w-50"
>
<gl-form-input
v-model=
"zipCodeModel"
type=
"text"
/>
<gl-form-input
v-model=
"zipCodeModel"
type=
"text"
data-qa-selector=
"zip_code"
/>
</gl-form-group>
</div>
</
template
>
...
...
ee/app/assets/javascripts/subscriptions/new/components/checkout/subscription_details.vue
View file @
9614e370
...
...
@@ -144,7 +144,12 @@ export default {
>
<template
#body
>
<gl-form-group
:label=
"$options.i18n.selectedPlanLabel"
label-size=
"sm"
class=
"mb-3"
>
<gl-form-select
v-model=
"selectedPlanModel"
v-autofocusonshow
:options=
"availablePlans"
/>
<gl-form-select
v-model=
"selectedPlanModel"
v-autofocusonshow
:options=
"availablePlans"
data-qa-selector=
"plan_name"
/>
</gl-form-group>
<gl-form-group
v-if=
"isShowingGroupSelector"
...
...
@@ -157,6 +162,7 @@ export default {
ref=
"group-select"
v-model=
"selectedGroupModel"
:options=
"groupOptionsWithDefault"
data-qa-selector=
"group_name"
/>
</gl-form-group>
<gl-form-group
...
...
@@ -175,6 +181,7 @@ export default {
type=
"number"
:min=
"selectedGroupUsers"
:disabled=
"!isSetupForCompany"
data-qa-selector=
"number_of_users"
/>
</gl-form-group>
<gl-form-group
...
...
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