Skip to content
This repository was archived by the owner on Dec 16, 2023. It is now read-only.
This repository was 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

Description

@aik099

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.

Activity

  1. aik099 commented on Mar 22, 2020

    @aik099
    Author

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions