Skip to main content
Configures Synpress for use with the Ethereum Wallet Mock. This function sets up the necessary configurations and hooks for running Cypress tests with the Ethereum Wallet Mock. It performs the following tasks:
  1. Filters the available browsers to ensure only Chrome is used.
  2. Sets up a ‘before:browser:launch’ hook to enable debug mode and establish a Playwright connection.
  3. Sets up a ‘before:spec’ hook to initialize the Ethereum Wallet Mock before each test spec runs.

Parameters

Returns

Modified Cypress configuration

Throws

Error If no Chrome browser is found in the configuration