Skip to content

Synpress is e2e testing framework based on Cypress.io and playwright with support for metamask.

Notifications You must be signed in to change notification settings

lethaale/synpress

 
 

Repository files navigation

Synpress

npm version Discord Twitter Follow

Synpress CI CodeQL synpress

We're Hiring 🎉 — Think you have what it takes? See open positions here.

Synpress Logo

Synpress is a powerful and developer-friendly E2E testing library for Web3 dapps, built on top of Cypress and Playwright. It simplifies testing interactions with wallets like MetaMask and other blockchain-specific operations.

Sponsored by:

Optimism Logo

✨ Features

Synpress Demo

  • Playwright and Cypress Support: Use either Playwright or Cypress as your testing framework, leveraging all their existing features and functionalities with Synpress.
  • One-Time Browser Setup & Caching: Define your dApps wallet setup once, and let Synpress cache the browser state. This dramatically speeds up test execution and unlocks the full potential of Playwright and Cypress, including parallel testing.
  • Built-in Wallet and Blockchain Agnostic System: Synpress core is designed to be wallet and blockchain agnostic, offering flexibility for future integrations and broader dApp support.
  • MetaMask Integration: Deep integration with MetaMask for seamless testing of common dApp interactions.
  • TypeScript Support: Enhanced TypeScript support for improved type safety and developer experience.
  • Anvil Support: Easily spin up a local Anvil node with just one line of code for fast and isolated testing.
  • Blazing Fast Performance: Synpress is optimized for speed, rivalling native Web2 testing framework performance.
  • Improved Debugging: Detailed error handling, combined with the debugging tools of Playwright and Cypress, makes pinpointing and resolving issues simple.

🧑‍💻 Installation

pnpm add -D @synthetixio/synpress@latest

📝 Documentation

For comprehensive guides, API references, and examples, refer to our official documentation.

🧑‍🤝‍🧑 Community

Join our vibrant community for support, discussions, and updates:

About

Synpress is e2e testing framework based on Cypress.io and playwright with support for metamask.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.8%
  • Other 0.2%