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
fillIn
readonly
ember-cli: 3.28.5 @ember/test-helpers: 2.6.0
I have an input in a component that is leveraging the readonly helper for one-way binding:
<input type="text" value={{readonly this.inputValue}} {{on "change" (fn this.onValueChange @condition)}} >
...however, when I try to use the fillIn helper in an acceptance test, the input is not filled in and the change and input events are not fired.
change
input
Removing the readonly helper results in the fillIn helper working as expected.
Works:
<input type="text" value={{this.inputValue}} {{on "change" (fn this.onValueChange @condition)}} >
The text was updated successfully, but these errors were encountered:
Turns out the issue was actually a bug in my code that did not manifest itself until my test case. Testing FTW!
Sorry, something went wrong.
No branches or pull requests
ember-cli: 3.28.5
@ember/test-helpers: 2.6.0
I have an input in a component that is leveraging the
readonly
helper for one-way binding:...however, when I try to use the
fillIn
helper in an acceptance test, the input is not filled in and thechange
andinput
events are not fired.Removing the
readonly
helper results in thefillIn
helper working as expected.Works:
The text was updated successfully, but these errors were encountered: