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

This commit is contained in:
Tanya Pazitny 2019-07-29 19:20:28 +00:00 committed by Mayra Cabrera
parent f74ff92587
commit 9658e5ec33
2 changed files with 2 additions and 2 deletions

View File

@ -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') }}

View File

@ -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({