awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
testing-library avatar

testing-library/user-event

0
View on GitHub↗

User Event

This library is a browser interaction simulator designed for automated testing of web applications. It functions as a utility for dispatching synthetic events to document elements, allowing developers to verify how components respond to user behavior within a test suite.

The project distinguishes itself by orchestrating complex sequences of low-level events to replicate the specific patterns of human interaction. It maintains internal tracking of focus, selection, and input state, ensuring that simulated actions align with the logic of a browser engine. Before dispatching, an input validation layer applies checks to mimic browser-level constraints, preventing interactions that would be impossible in a production environment.

The library supports the construction of custom events with specific data payloads and executes event cycles synchronously within the test process. This approach ensures that state changes and side effects are predictable and verifiable during automated testing sessions.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
testing-library.com/user-event
↗

Features

  • Browser Interaction Testing - Provides a browser interaction simulator for dispatching synthetic events to verify state changes during component testing.
  • Browser Interaction Simulators - Send specific events to elements to mimic user interactions while injecting custom data payloads to test how the application handles complex information during event processing.
  • Browser State Emulators - Maintains internal tracking of focus, selection, and input state to ensure subsequent events behave consistently with actual browser engine logic.
  • Frontend Automated Testing Utilities - Simulates realistic user interactions in browser environments to verify that web application components behave correctly.
  • Browser Event Simulations - Provides programmatic triggering of native browser events to automate page interactions during testing.
  • Interaction Sequence Orchestrators - Coordinates multiple low-level DOM events into complex high-level actions to ensure state changes match real-world user input patterns.
  • User Interaction Simulation - Replicates human input and device states to simulate real-world user behavior during automated testing.
  • Component and Interaction Testing - Provides utilities for mounting components, simulating user inputs, and verifying UI interactions.
  • JavaScript Testing Frameworks - Provides a library for triggering sequences of browser events that mimic human interaction patterns within automated test suites.
  • UI Event Simulators - Simulates realistic browser interactions and user events to test how web applications respond to genuine user behavior.
  • Interaction Validation Layers - Applies internal checks before event dispatching to mimic browser-level constraints and prevent invalid interactions that would not occur in production.
2,309 stars·256 forks·TypeScript·MIT·22 views

Star history

Star history chart for testing-library/user-eventStar history chart for testing-library/user-event

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does testing-library/user-event do?

This library is a browser interaction simulator designed for automated testing of web applications. It functions as a utility for dispatching synthetic events to document elements, allowing developers to verify how components respond to user behavior within a test suite.

What are the main features of testing-library/user-event?

The main features of testing-library/user-event are: Browser Interaction Testing, Browser Interaction Simulators, Browser State Emulators, Frontend Automated Testing Utilities, Browser Event Simulations, Interaction Sequence Orchestrators, User Interaction Simulation, Component and Interaction Testing.

Which projects share features with testing-library/user-event?

Projects with overlapping indexed features include: enzymejs/enzyme — Enzyme is a testing utility for React components designed to verify their output and behavior in a test environment.… techxuexi/techxuexi-js — techxuexi-js is a browser-based task automator and JavaScript DOM interaction script. It functions as a userscript for… callstack/react-native-testing-library — This project is a testing framework designed for React Native applications, providing a suite of tools to render… vuejs/vue-test-utils — Vue Test Utils is a testing library designed for the Vue framework that provides a suite of tools for mounting,… mobile-dev-inc/maestro — Maestro is a declarative mobile and web UI automation framework designed for end-to-end testing. It operates by… rspec/rspec-rails — rspec-rails is a testing framework that integrates RSpec with Ruby on Rails to provide behavior-driven development…

Projects sharing features with User Event

These projects share indexed features with User Event. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • enzymejs/enzymeE

    enzymejs/enzyme

    19,831View on GitHub↗

    Enzyme is a testing utility for React components designed to verify their output and behavior in a test environment. It serves as a test harness for UI components, providing tools to render visual elements, manage state transitions, and simulate synthetic events. The library distinguishes itself through multiple rendering modes, including a shallow rendering engine for isolated unit testing and full DOM rendering for testing deep integration. It employs an adapter-based integration system to maintain compatibility across different versions of the underlying framework. The toolkit covers a br

    JavaScript
    View on GitHub↗19,831
  • techxuexi/techxuexi-jsTechXueXi avatar

    TechXueXi/techxuexi-js

    3,686View on GitHub↗

    techxuexi-js is a browser-based task automator and JavaScript DOM interaction script. It functions as a userscript for browser extensions to automate daily learning tasks and progress tracking on a specific educational web platform. The tool fulfills daily activity quotas by simulating user clicks and page navigation through the document object model. It bypasses manual interaction requirements to complete required courses and milestones automatically. The system utilizes state polling, event simulation, and timer-based sequence execution to manage page interactions. It handles navigation vi

    JavaScriptqiang-guoqiangguotechxuexi
    View on GitHub↗3,686
  • callstack/react-native-testing-librarycallstack avatar

    callstack/react-native-testing-library

    3,390View on GitHub↗

    This project is a testing framework designed for React Native applications, providing a suite of tools to render components in a controlled memory environment. It enables developers to verify the behavior and structure of mobile interfaces by simulating user interactions and monitoring component lifecycle transitions. By isolating components from the rest of the application, it ensures that tests remain stable and independent. The framework distinguishes itself through an accessibility-first approach, prioritizing user-facing attributes like roles, labels, and text content when querying the c

    TypeScriptjestreactreact-native
    View on GitHub↗3,390
  • vuejs/vue-test-utilsvuejs avatar

    vuejs/vue-test-utils

    3,544View on GitHub↗

    Vue Test Utils is a testing library designed for the Vue framework that provides a suite of tools for mounting, interacting with, and asserting the state and output of user interface components. It functions as a JavaScript unit testing tool, enabling developers to verify component logic, rendered structure, and dynamic behavior within an automated test environment. The library distinguishes itself through its ability to isolate components during testing, allowing for shallow rendering that replaces child components with stubs to prevent external dependencies from influencing results. It prov

    JavaScript
    View on GitHub↗3,544
Compare all 30 related projects→

Curated searches featuring User Event

Hand-picked collections where User Event appears.
  • JavaScript DOM libraries