### Install Dependencies Source: https://github.com/synpress-io/synpress/blob/dev/examples/ethereum-wallet-mock/README.md Installs project dependencies using pnpm. ```bash pnpm install ``` -------------------------------- ### Copy Environment Example File Source: https://github.com/synpress-io/synpress/blob/dev/support-bot/README.md Copies the example environment file to a new file for configuration. ```bash cp .env.example .env ``` -------------------------------- ### Install Synpress Source: https://github.com/synpress-io/synpress/blob/dev/release/README.md Install the latest version of Synpress as a development dependency using pnpm. ```bash pnpm add -D @synthetixio/synpress@latest ``` -------------------------------- ### Start Bot in Production Mode Source: https://github.com/synpress-io/synpress/blob/dev/support-bot/README.md Starts the Synpress Support Bot in production mode. ```bash pnpm start ``` -------------------------------- ### Start MetaMask Test Dapp Source: https://github.com/synpress-io/synpress/blob/dev/examples/ethereum-wallet-mock/README.md Starts the MetaMask Test Dapp using pnpm. ```bash pnpm run serve:test-dapp ``` -------------------------------- ### Start MetaMask Test Dapp Source: https://github.com/synpress-io/synpress/blob/dev/examples/metamask/README.md Launch the MetaMask Test Dapp using the provided pnpm script. ```bash pnpm run serve:test-dapp ``` -------------------------------- ### Install Playwright Source: https://github.com/synpress-io/synpress/blob/dev/examples/ethereum-wallet-mock/README.md Installs Playwright dependencies. ```bash pnpm exec playwright install ``` -------------------------------- ### Install Dependencies Source: https://github.com/synpress-io/synpress/blob/dev/support-bot/README.md Installs project dependencies using the pnpm package manager. ```bash pnpm install ``` -------------------------------- ### Install Playwright Source: https://github.com/synpress-io/synpress/blob/dev/examples/metamask/README.md Install Playwright, a tool for end-to-end testing, using pnpm exec. ```bash pnpm exec playwright install ``` -------------------------------- ### Start Bot in Development Mode Source: https://github.com/synpress-io/synpress/blob/dev/support-bot/README.md Starts the Synpress Support Bot in development mode, enabling hot reload. ```bash pnpm dev ``` -------------------------------- ### Select Package for Release Source: https://github.com/synpress-io/synpress/blob/dev/DEPLOYMENT.md Run this command from the repository root to select the package you intend to release. ```bash pnpm changeset ``` -------------------------------- ### Publish Packages Source: https://github.com/synpress-io/synpress/blob/dev/DEPLOYMENT.md Execute this command to publish your packages. It may require a second run for specific packages like @synthetixio/synpress. ```bash # You might have to run this command twice if it fails to publish the "@synthetixio/synpress" package on the first run. pnpm changeset publish ``` -------------------------------- ### Consume Changeset and Version Packages Source: https://github.com/synpress-io/synpress/blob/dev/DEPLOYMENT.md After selecting a package, run this command to update package.json and CHANGELOG.md files. ```bash pnpm changeset version ``` -------------------------------- ### Build Synpress Cache with pnpm Source: https://github.com/synpress-io/synpress/blob/dev/examples/ethereum-wallet-mock/README.md Builds the browser cache using pnpm scripts. Supports both headed and headless modes. ```bash # You can either build cache in a headed mode: pnpm run build:cache ``` ```bash # Or in a headless mode: pnpm run build:cache:headless ``` -------------------------------- ### Build Project Source: https://github.com/synpress-io/synpress/blob/dev/support-bot/README.md Builds the TypeScript code for the project. ```bash pnpm build ``` -------------------------------- ### Push Release Tags to GitHub Source: https://github.com/synpress-io/synpress/blob/dev/DEPLOYMENT.md If operating in prerelease mode, use this command to push release tags to GitHub. ```bash git push --follow-tags ``` -------------------------------- ### Build Cache using pnpm Scripts Source: https://github.com/synpress-io/synpress/blob/dev/examples/metamask/README.md Build the browser cache using pnpm scripts. Choose between a headed mode for visual confirmation or a headless mode for background processing. ```bash pnpm run build:cache ``` ```bash pnpm run build:cache:headless ``` -------------------------------- ### Build Synpress Cache Source: https://github.com/synpress-io/synpress/blob/dev/examples/ethereum-wallet-mock/README.md Builds the browser cache for Synpress. Can be run in headed or headless mode. ```bash synpress ``` ```bash synpress --headless ``` -------------------------------- ### Build Cache with Synpress CLI Source: https://github.com/synpress-io/synpress/blob/dev/examples/metamask/README.md Use the Synpress CLI to build a browser cache. This can be done in a headed mode for visual feedback or a headless mode for faster, background execution. ```bash synpress ``` ```bash synpress --headless ``` -------------------------------- ### Run Playwright Tests with pnpm Scripts Source: https://github.com/synpress-io/synpress/blob/dev/examples/metamask/README.md Execute Playwright tests using predefined pnpm scripts. Options include headed, headless, and headless with UI mode. ```bash pnpm run test:playwright:headful ``` ```bash pnpm run test:playwright:headless ``` ```bash pnpm run test:playwright:headless:ui ``` -------------------------------- ### Format Code Source: https://github.com/synpress-io/synpress/blob/dev/support-bot/README.md Formats the code according to project standards. ```bash pnpm format ``` -------------------------------- ### Run Playwright Tests with pnpm Source: https://github.com/synpress-io/synpress/blob/dev/examples/ethereum-wallet-mock/README.md Runs Playwright tests using pnpm scripts, offering options for headed, headless, and UI modes. ```bash # Use one of our scripts: pnpm run test:playwright:headful ``` ```bash pnpm run test:playwright:headless ``` ```bash pnpm run test:playwright:headless:ui ``` -------------------------------- ### Lint Code Source: https://github.com/synpress-io/synpress/blob/dev/support-bot/README.md Runs the linter to check for code style and potential issues. ```bash pnpm lint ``` -------------------------------- ### Run Playwright Tests Directly Source: https://github.com/synpress-io/synpress/blob/dev/examples/ethereum-wallet-mock/README.md Executes Playwright tests directly using the 'playwright test' command, with options for headless mode via environment variables. ```bash # Or use Playwright directly: playwright test ``` ```bash HEADLESS=true playwright test ``` ```bash HEADLESS=true playwright test --ui ``` -------------------------------- ### Run Playwright Tests Directly Source: https://github.com/synpress-io/synpress/blob/dev/examples/metamask/README.md Execute Playwright tests directly using the 'playwright test' command. Environment variables like HEADLESS can be used to control the execution mode. ```bash playwright test ``` ```bash HEADLESS=true playwright test ``` ```bash HEADLESS=true playwright test --ui ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.