Commit 9658e5ec authored by Tanya Pazitny's avatar Tanya Pazitny Committed by Mayra Cabrera

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

parent f74ff925
...@@ -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