Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

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

Open
aik099 opened this issue Mar 21, 2020 · 1 comment
Open

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

aik099 opened this issue Mar 21, 2020 · 1 comment

Comments

@aik099
Copy link

aik099 commented Mar 21, 2020

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.

@aik099
Copy link
Author

aik099 commented Mar 22, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant