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
9658e5ec
Commit
9658e5ec
authored
Jul 29, 2019
by
Tanya Pazitny
Committed by
Mayra Cabrera
Jul 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change qa-* class references to js-* for squash-checkbox
parent
f74ff925
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/vue_merge_request_widget/components/states/squash_before_merge.vue
..._request_widget/components/states/squash_before_merge.vue
+1
-1
spec/javascripts/vue_mr_widget/components/states/mr_widget_squash_before_merge_spec.js
...t/components/states/mr_widget_squash_before_merge_spec.js
+1
-1
No files found.
app/assets/javascripts/vue_merge_request_widget/components/states/squash_before_merge.vue
View file @
9658e5ec
...
...
@@ -36,7 +36,7 @@ export default {
:disabled=
"isDisabled"
type=
"checkbox"
name=
"squash"
class=
"qa-squash-checkbox"
class=
"qa-squash-checkbox
js-squash-checkbox
"
@
change=
"$emit('input', $event.target.checked)"
/>
{{
__
(
'
Squash commits
'
)
}}
...
...
spec/javascripts/vue_mr_widget/components/states/mr_widget_squash_before_merge_spec.js
View file @
9658e5ec
...
...
@@ -21,7 +21,7 @@ describe('Squash before merge component', () => {
});
describe
(
'
checkbox
'
,
()
=>
{
const
findCheckbox
=
()
=>
wrapper
.
find
(
'
.
qa
-squash-checkbox
'
);
const
findCheckbox
=
()
=>
wrapper
.
find
(
'
.
js
-squash-checkbox
'
);
it
(
'
is unchecked if passed value prop is false
'
,
()
=>
{
createComponent
({
...
...
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