UNPKG

idquia

Version:

Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul

17 lines (12 loc) 579 B
# @web3-onboard/testing ## A collection of playwright tests run on the web3-onboard demo To run tests: 1. Create .env file in test/ with the following variables: TEST_WALLET_PHRASE TEST_WALLET_ADDRESS SERIAL_MODE=true HEADLESS_MODE=true 2. yarn test There are 4 existing tests for metamask: connect metamask, sign a message, sign a typed message, send a transaction, switche chains, and disconnect. Please note: your test metamask wallet must have a balance of GoerliETH for all tests to pass. To view report after running tests: npx playwright show-report