Coder Social home page Coder Social logo

vincemalone / user-event Goto Github PK

View Code? Open in Web Editor NEW

This project forked from testing-library/user-event

0.0 0.0 0.0 2.51 MB

๐Ÿ• Simulate user events

Home Page: https://testing-library.com/user-event

License: MIT License

JavaScript 6.06% TypeScript 93.94%

user-event's Introduction

user-event

dog

Fire events the same way the user does


Read The Docs



Build Status Code Coverage version downloads MIT License All Contributors PRs Welcome Code of Conduct Discord

Watch on GitHub Star on GitHub Tweet

The problem

From testing-library/dom-testing-library#107:

[...] it is becoming apparent the need to express user actions on a web page using a higher-level abstraction than fireEvent

The solution

user-event tries to simulate the real events that would happen in the browser as the user interacts with it. For example userEvent.click(checkbox) would change the state of the checkbox.

The more your tests resemble the way your software is used, the more confidence they can give you.

Issues

Looking to contribute? Look for the Good First Issue label.

๐Ÿ› Bugs

Please file an issue for bugs, missing documentation, or unexpected behavior.

See Bugs

๐Ÿ’ก Feature Requests

Please file an issue to suggest new features. Vote on feature requests by adding a ๐Ÿ‘. This helps maintainers prioritize what to work on.

See Feature Requests

โ“ Questions

For questions related to using the library, please visit a support community instead of filing an issue on GitHub.

Contributors

We most sincerely thank the people who make this project possible. Contributions of any kind are welcome! ๐Ÿ’š

License

MIT

user-event's People

Contributors

afontcu avatar allcontributors[bot] avatar aprillion avatar bdh1011 avatar benmonro avatar bozdoz avatar calebeby avatar daleseo avatar gentlemanhal avatar gpx avatar greenkeeper[bot] avatar hontas avatar juanca avatar kentcdodds avatar kt-weyert avatar lourenci avatar luistak avatar marcosvega91 avatar michaeldeboey avatar nickmccurdy avatar patricklizon avatar ph-fritsche avatar raynos avatar robcaldecott avatar silouanwright avatar timdeschryver avatar vadimshvetsov avatar visualjerk avatar wachunga avatar ybentz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.