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
<b-form-checkbox-stub
checked="true"
class="gl-form-checkbox"
plain="true"
value="true"
>
<strong
......
......@@ -23,7 +23,7 @@ describe('DuplicateDashboardForm', () => {
findByRef(ref).setValue(val);
};
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.trigger('click');
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