Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New test helpers #8

Open
10 tasks
rsocci opened this issue Jul 12, 2016 · 1 comment
Open
10 tasks

New test helpers #8

rsocci opened this issue Jul 12, 2016 · 1 comment

Comments

@rsocci
Copy link
Contributor

rsocci commented Jul 12, 2016

  • 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

@michaeldupuisjr
Copy link
Contributor

michaeldupuisjr commented Jul 13, 2016

@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?

rsocci added a commit that referenced this issue Jul 13, 2016
* For #8
* Adds `findByAutoId`, `findInputByName`, `clickByAutoId`,
* Change `const` to `let` in test files
* `fillInByAutoId`, `fillInByName`
rsocci added a commit that referenced this issue Jul 13, 2016
* For #8
* Adds `findByAutoId`, `findInputByName`, `clickByAutoId`,
* Change `const` to `let` in test files
* `fillInByAutoId`, `fillInByName`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants