ember-file-upload
ember-file-upload copied to clipboard
feat(test-support): allow selectFiles input to be an element or a css selector
Using the test support helpers in our own projects we had the need to have the input of this method be an element instead of a string selector, so I added the option.
Hey @gvdp thanks for opening this 👋🏻
I'd be happy to accept this enhancement with a few additions:
- make the same change to all test helper functions exported from this file
- update the JSDoc comments for all test helpers also
Thanks for the feedback @gilest !
I implemented the change for all the methods in the test-support file. Not super familiar with JSDoc, I hope I did that right. Should I maybe also add an example of the HTMLElement input option?
Was finished in #840
Was finished in #840
Great! Thanks for picking this up 👍