New test helpers
rsocci opened this issue · comments
- chooseFromDropdown - WIP
- chooseRadioByLabel (same as clickRadioByLabel?)
- nodesToArray - WIP
- removeWhitespace - WIP
- clickByAutoId - WIP
- fillInByAutoId - WIP
- findByAutoId - WIP
- fillInByName - WIP
- clickLabel
- visitUrl, assertCurrentUrl, assertVisitUrl
Feel free to remove/add more
@i think it's helpful to think of these interactions in terms of the jQuery events they're based off of. I just went through the jQuery docs and these were the most obvious events I could see use cases for:
click
dblclick
focus
focusin
focusout
hover
keydown
keypress
keyup
mousedown
mouseenter
mouseleave
mousemove
mouseout
mouseover
mouseup
scroll
select
submit
Maybe we should create issues for each event and then decide which HTML tags (e.g., a
, div
) we want to create helpers for for each event?