You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that PhantomJS and jQuery Simulate are not working together for some of our unit tests that simulate navigation, and thus some tests are failing.
Also related to ariya/phantomjs#10375. Will look into another solution for simulating pointer events. For now, temporarily removing the offending unit tests to be re-integrated for 4.1.
The text was updated successfully, but these errors were encountered:
…ate bug
PhantomJS is not playing nice with jQuery Simulate, so tests that simulate pointer events are not working properly right now. This will be fixed once PhantomJS 2 is stable. For now, temporarily removing these tests to push 4.0 out the door.
Refs #286
Turns out the test also doesn't work when run in QUnit in the browser, and we're not using jQuery simulate (for the double click, which is not working) but rather just triggering a jQuery event. The test code does work when run in a standalone Diva instance. Still debugging.
magoni
changed the title
Tests: PhantomJS/jQuery Simulate incompatibilities
Tests: some simulated events are broken
Sep 17, 2015
The problem with jQuery event handlers not being fired when triggering them using a manually instantiated $.Event object has been resolved with phantomjs 2, which we can now use in our build/testing system because a static Linux build for 2.1 finally became available through npm yesterday.
npm automatically changed some formatting, but the only actual change is in the phantomjs package.
Fixes#286
It seems that PhantomJS and jQuery Simulate are not working together for some of our unit tests that simulate navigation, and thus some tests are failing.
Upgrading to PhantomJS 2 locally solved the problem, but this version is not ready to be built reliably on Linux.
Also related to ariya/phantomjs#10375. Will look into another solution for simulating pointer events. For now, temporarily removing the offending unit tests to be re-integrated for 4.1.
The text was updated successfully, but these errors were encountered: