feat: e2e testing - Handle wallet rejection (#6442)
* chore: ignore hardhat cache files * test: add forking hardhat config * test: install cypress-hardhat * build: add cypress-hardhat * fix: lint * build: add hardhat * build: add @sentry/types * fix: better origin * test: update cypress VisitOptions to include hardhat * fix: default to connected wallet user state * test: add a hardhat provider * build: update imports * chore: comments * fix: massage eth_sendTransaction * feat: example swap test (#6415) * initial commit * add intercept for amplitude * fix: destructure result * click swap submission * fix: eth_sendTransaction via bridge * test works * finish chain interaction test --------- Co-authored-by:Zach Pomerantz <zzmp@uniswap.org> * stub sending a transaction to simulate wallet rejection of a transaction finish test s * Update cypress/e2e/swap.test.ts Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org> * lint * fix network connection bug --------- Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org>
Showing
Please register or sign in to comment