argos-ci/jest-puppeteer

Run tests using Jest & Puppeteer 🎪✨

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 53 minutes ago
Type:Plugin / ExtensionCategory(s):Testing, QA & Browser AutomationDeveloper Tools
Added to GitGenius on September 19th, 2026
Created on March 3rd, 2018
Open Issues & Pull Requests: 22 (+0)
GitHub issues: Enabled
Number of forks: 287
Total Stargazers: 3,544 (+0)
Total Subscribers: 36 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.2 days
Mean response time: 30.4 days
90th percentile: 257.8 days
Tracked items: 9

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 725 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • good first issue 🤙 (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

jest-puppeteer is a Jest preset that integrates Puppeteer for end-to-end browser testing.

The tool solves the problem of setting up and managing browser automation within Jest test suites. It provides a Jest environment that automatically launches and manages Puppeteer browser instances, exposing a `page` object directly in tests so developers can interact with web pages without boilerplate setup. The preset handles browser lifecycle management, allowing tests to navigate pages, interact with elements, and verify UI behavior using Puppeteer's API within Jest's familiar testing framework.

Developers should choose this tool if they need to test web applications through a real browser with user interactions rather than unit testing components in isolation. It suits projects requiring end-to-end testing of UI flows, form submissions, navigation, and visual behavior. The tool works well for teams already using Jest and wanting to add browser automation without managing separate test runners. The README mentions `expect-puppeteer` as a complementary library that adds custom matchers to reduce verbosity when writing assertions about page content and element interactions, though this is presented as an optional enhancement rather than a comparison to alternatives.

The project maintains active development with regular updates to support new TypeScript versions and Jest compatibility. The codebase includes comprehensive documentation covering setup, configuration, debugging, and recipes for common testing patterns. The tool provides native TypeScript support and includes type definitions, indicating attention to developer experience for modern JavaScript projects. Configuration is straightforward through Jest's preset system, and the project offers recipes for advanced scenarios like automatic server management, custom Puppeteer instance configuration, and extending the test environment for specialized needs.