Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. const checkbox = form.find('input[name="agreementAccepted"]');
  2. checkbox.simulate('change', {
  3. persist: () => {},
  4. target: {
  5. checked: true, name: 'agreementAccepted'
  6. }
  7. });
  8.  
  9. const contactNameInput = form.find('input[name="contactName"]');
  10.  
  11. nameInput.simulate('change', { target: { value: '', name: 'name' } });
  12. const dropdown = form.find('input[name="product"]')
  13. const showInfoCheckbox = form.find('input[name="shareInformation"]');
  14. showInfoCheckbox.simulate('click');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement