ember-test-helpers
ember-test-helpers copied to clipboard
triggerEvent issue IE 11
Hi there. I have been testing my application on IE 11, and maybe I found an interesting "bug". When I wrote a test that triggers an event blur, it worked very fine on Google Chrome, but it does not on IE 11. The test executes the triggerEvent function, but the action is not really executed.
This is how the test is implemented:
This step gets an "ok", but the field is still focused. Which means that the action that is supposed to be fired, it's not.
FWIW, We have a custom blur()
helper that we have implemented, and its tests do pass on IE11.
@rwjblue is there any documentation where I can read about it?
Yep! The API docs are linked to from the README.
https://github.com/emberjs/ember-test-helpers/blob/master/API.md#blur
I am still getting an error. I had tried triggerEvent('element', blur|focusout|) and the blur function, and still not works. The IE 11 seems not fire the event during tests.