This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@deepsquare/cypress-metamask
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-dev.1 • Public • Published

Cypress MetaMask plugin

Enable interactions with the MetaMask extension in Cypress tests.

Acknowledgments: This plugin was heavily inspired by CraftAcademyLabs/cypress-metamask and Synpress.

Installation

Install the npm package:

npm install -D @deepsquare/cypress-metamask
# or
yarn add -D @deepsquare/cypress-metamask
# or
pnpm install -D @deepsquare/cypress-metamask

NB: if you are using another package manager, adapt the command accordingly.

In your plugin entry file (cypress/plugins/index.js):

module.exports = (on, config) => {
 require('@deepsquare/cypress-metamask/plugin')
}

Limitations

  • Firefox is not supported
  • Headless mode (which is the default of cypress run) is not supported because extensions cannot be installed in headless mode

Package Sidebar

Install

npm i @deepsquare/cypress-metamask

Weekly Downloads

2

Version

0.1.0-dev.1

License

MIT

Unpacked Size

122 kB

Total Files

167

Last publish

Collaborators

  • darkness4
  • valentin-pollart