cibernox / ember-native-dom-helpers

Test helpers for your integration tests that fire native events
MIT License
186 stars 37 forks source link

IE11 fillIn double fires oninput event #140

Closed john-griffin closed 6 years ago

john-griffin commented 6 years ago

We recently migrated our app from ember-one-way-controls to native inputs and ember-native-dom-helpers in our integration tests to keep the tests working. fillIn on works great on other browsers but when we test against IE11 we are finding that it double fires any events wired up to oninput. The events are not double fired in IE11 in regular app use.

cibernox commented 6 years ago

Sounds weird. Can you provide add failing test and I'll take it from there.

Although to be honest, since ember-test-helpers now has included all the helpers in this repo (but find and findAll), it might be worth it trying to reproduce it there.

john-griffin commented 6 years ago

Ah ok, yes I can see reading your post here that this is now the wrong place to discuss this. The guides and ember-one-way-controls readme were still pointing here, sorry about that.

rwjblue commented 6 years ago

FWIW, this is an issue that I've seen as well. It largely happens when IE11 is under somewhat heavy load (and is not reproducible 100% of the time). For example, in VM's locally I have yet to run across this issue in either Ember itself or in @ember/test-helpers but when ran in BrowserStack's VM's it "randomly" sends input twice.

john-griffin commented 6 years ago

@rwjblue thanks for the details. We are seeing it on saucelabs and on a desktop windows computer.