Change qa-* class references to js-* for squash-checkbox
This commit is contained in:
parent
f74ff92587
commit
9658e5ec33
2 changed files with 2 additions and 2 deletions
|
@ -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') }}
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue