assaf/zombie

The "change" event is fired 2 times for a single change

aik099 opened this issue · 1 comments

For any of the following actions the change event is fired 2 times instead of 1 time:

  • checking unchecked checkbox (the browser.check(...) method)
  • unchecking checked checkbox (the browser.uncheck(...) method)
  • changing selected radio button (the browser.choose(...) method)
  • changing selected option in dropdown (the browser.selectOption(...) and browser.select(...) methods)

It works correctly for <input type="text"/> and <textarea> elements.

Using Zombie 6.1.4.

It works fine on Zombie 5.0.8 release, but with Zombie 6.1.4 release the click processing also is triggering change event, which isn't needed at all.