Commit 03fbd6cf authored by Mike Greiling's avatar Mike Greiling

Fix frontend tests

parent b9a0f928
...@@ -7,7 +7,6 @@ exports[`Keep latest artifact checkbox when application keep latest artifact set ...@@ -7,7 +7,6 @@ exports[`Keep latest artifact checkbox when application keep latest artifact set
<b-form-checkbox-stub <b-form-checkbox-stub
checked="true" checked="true"
class="gl-form-checkbox" class="gl-form-checkbox"
plain="true"
value="true" value="true"
> >
<strong <strong
......
...@@ -23,7 +23,7 @@ describe('DuplicateDashboardForm', () => { ...@@ -23,7 +23,7 @@ describe('DuplicateDashboardForm', () => {
findByRef(ref).setValue(val); findByRef(ref).setValue(val);
}; };
const setChecked = (value) => { const setChecked = (value) => {
const input = wrapper.find(`.form-check-input[value="${value}"]`); const input = wrapper.find(`.custom-control-input[value="${value}"]`);
input.element.checked = true; input.element.checked = true;
input.trigger('click'); input.trigger('click');
input.trigger('change'); input.trigger('change');
......
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