Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const checkbox = form.find('input[name="agreementAccepted"]');
- checkbox.simulate('change', {
- persist: () => {},
- target: {
- checked: true, name: 'agreementAccepted'
- }
- });
- const contactNameInput = form.find('input[name="contactName"]');
- nameInput.simulate('change', { target: { value: '', name: 'name' } });
- const dropdown = form.find('input[name="product"]')
- const showInfoCheckbox = form.find('input[name="shareInformation"]');
- showInfoCheckbox.simulate('click');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement