IndexedEx precedence (2026-10-19)
Current IndexedEx CLAUDE.md, product/testing law and the existing injected-wallet
Playwright framework take precedence over generic examples below. Use
frontend/apps/indexedex, not the older apps/dtf layout. Connector stubs are
isolated UI tests only, never replacements for real contract/money-path checks.
MetaMask automation is not enabled for this repository. Read the local
IndexedEx context for actual network, reset, fixture,
secret and signing/broadcast authorization rules before applying an example.
Source-version caveat (2026-10-19): archived source has no pinned upstream
revision; Synpress v4 examples are reference-only and not installed or executed.
The original MIT metadata is retained, but no original license file was found;
provenance records that gap and all port adaptations.
MetaMask Overview (for Testers & Devs)
MetaMask is a browser-extension wallet that injects an EIP-1193 provider (window.ethereum). dApps request accounts, signatures, chain switches, and transactions through that provider; MetaMask shows user-facing confirmations.
Why it matters for E2E
| Layer | What to verify |
|-------|----------------|
| Provider | eth_requestAccounts, chain id, RPC errors |
| UX | Connect modal, account list, network add/switch |
| Tx | Gas, reject/confirm, stuck/pending states |
| Permissions | ERC-20 approve / Permit2 vs spend caps |
| Multi-account | accountsChanged handling in the dApp |
Two automation strategies
- Real MetaMask — actual wallet UX coverage; Synpress is a reference automation option, prohibited in current IndexedEx tests. Human compatibility checks require separate authorization.
- Existing injected EIP-1193 wallet — no extension, but real local signing/RPC in IndexedEx.
- Wagmi mock connector — separate, explicitly isolated UI/error tests only; not proof of signing or chain execution.
These skills document wallet domain knowledge; use the existing IndexedEx framework for implementation, not a new plugin.
Default local test identity
Anvil account #0 is the automated disposable local test identity; #1 is the operator-funded human UI identity. Never fund these public identities on a public chain or import personal keys. Signing/broadcast still requires task authorization:
- Address:
0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 - Seed:
test test test test test test test test test test test junk
Related skills
- metamask-extension-testing — extension vs mock tradeoffs
- metamask-networks-accounts — chains, accounts, switching
- metamask-transactions-approvals — txs, signatures, token allowances
Docs
- https://docs.metamask.io/
- https://eips.ethereum.org/EIPS/eip-1193