We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The fillIn helper does not seem to work for this component.
fillIn
Am I doing something wrong or is there any other way I could fill out the input in acceptance tests?
The text was updated successfully, but these errors were encountered:
I've wrote this little test helper to fill out the input after digging around in the source a little bit:
import Ember from 'ember'; export default Ember.Test.registerAsyncHelper('fillTime', function(app, selector, string) { const $element = find(selector); Ember.run(() => { $element.focusin(); for (let i = 0, length = string.length; i < length; i++) { const e = Ember.$.Event('keydown', { keyCode: string.charCodeAt(i), }); $element.trigger(e); } $element.focusout(); }); });
Sorry, something went wrong.
You can use typeIn instead of fillIn.
typeIn
No branches or pull requests
The
fillIn
helper does not seem to work for this component.Am I doing something wrong or is there any other way I could fill out the input in acceptance tests?
The text was updated successfully, but these errors were encountered: