hinthealth / behave

Front-end testing helpers
MIT License
1 stars 0 forks source link

fill('field-name') with multiple fields (but only one visible) fails #25

Open melcher opened 9 years ago

melcher commented 9 years ago

When there are 2 "name" fields, only one of which is visible at any one time, fill('field-name') fails because it finds them both. You have to do something like fill(findAll('field-name')[0]) or some such. Maybe... have fill(..) only work on visible fields. Or something else.