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
464d6de3
Commit
464d6de3
authored
Mar 07, 2022
by
Chloe Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update selector in trial e2e spec
Update data-qa-selector in trial form
parent
6fb28081
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
ee/app/assets/javascripts/trials/components/country_or_region_selector.vue
...ascripts/trials/components/country_or_region_selector.vue
+1
-0
ee/app/views/trials/select.html.haml
ee/app/views/trials/select.html.haml
+1
-1
qa/qa/page/trials/new.rb
qa/qa/page/trials/new.rb
+1
-1
qa/qa/page/trials/select.rb
qa/qa/page/trials/select.rb
+5
-6
No files found.
ee/app/assets/javascripts/trials/components/country_or_region_selector.vue
View file @
464d6de3
...
...
@@ -141,6 +141,7 @@ export default {
:options=
"stateOptionsWithDefault"
value-field=
"id"
text-field=
"name"
data-qa-selector=
"state"
data-testid=
"state"
:required=
"required"
@
change=
"selected"
...
...
ee/app/views/trials/select.html.haml
View file @
464d6de3
...
...
@@ -26,7 +26,7 @@
=
label_tag
:trial_entity
,
_
(
'Who will be using GitLab?'
)
.gl-form-checkbox-group
.gl-form-checkbox.form-check.form-check-inline
=
radio_button_tag
:trial_entity
,
:company
,
params
[
:trial_entity
]
==
'company'
,
required:
true
,
class:
'form-check-input'
=
radio_button_tag
:trial_entity
,
:company
,
params
[
:trial_entity
]
==
'company'
,
required:
true
,
class:
'form-check-input'
,
data:
{
qa_selector:
'trial_company'
}
=
label_tag
:trial_entity_company
,
_
(
'My company or team'
),
class:
'form-check-label'
.gl-form-checkbox.form-check.form-check-inline
=
radio_button_tag
:trial_entity
,
:individual
,
params
[
:trial_entity
]
==
'individual'
,
required:
true
,
class:
'form-check-input'
,
data:
{
qa_selector:
'trial_individual'
}
...
...
qa/qa/page/trials/new.rb
View file @
464d6de3
...
...
@@ -12,7 +12,7 @@ module QA
select
:number_of_employees
text_field
:telephone_number
select
:country
select
:state
,
id:
'state'
select
:state
button
:continue
end
end
...
...
qa/qa/page/trials/select.rb
View file @
464d6de3
...
...
@@ -6,12 +6,11 @@ module QA
class
Select
<
Chemlab
::
Page
path
'/-/trials/select'
# TODO: Supplant with data-qa-selectors
select
:subscription_for
,
id:
'namespace_id'
text_field
:new_group_name
,
id:
'new_group_name'
button
:start_your_free_trial
,
value:
'Start your free trial'
radio
:trial_company
,
id:
'trial_entity_company'
radio
:trial_individual
,
id:
'trial_entity_individual'
select
:subscription_for
text_field
:new_group_name
button
:start_your_free_trial
radio
:trial_company
radio
:trial_individual
end
end
end
...
...
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