Commit c7a7e795 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'tp-qtt182-12' into 'master'

Change qa-* class references to js-* for squash-checkbox

Closes gitlab-org/quality/team-tasks#182

See merge request gitlab-org/gitlab-ce!31214
parents f74ff925 9658e5ec
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
:disabled="isDisabled" :disabled="isDisabled"
type="checkbox" type="checkbox"
name="squash" name="squash"
class="qa-squash-checkbox" class="qa-squash-checkbox js-squash-checkbox"
@change="$emit('input', $event.target.checked)" @change="$emit('input', $event.target.checked)"
/> />
{{ __('Squash commits') }} {{ __('Squash commits') }}
......
...@@ -21,7 +21,7 @@ describe('Squash before merge component', () => { ...@@ -21,7 +21,7 @@ describe('Squash before merge component', () => {
}); });
describe('checkbox', () => { 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', () => { it('is unchecked if passed value prop is false', () => {
createComponent({ createComponent({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment