uniswap-interface-uncensored/cypress
Jordan Frankfurt 3d8d29fd18
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>
2023-04-26 13:02:51 -05:00
..
e2e feat: e2e testing - Handle wallet rejection (#6442) 2023-04-26 13:02:51 -05:00
fixtures feat: Use local reducer in Swap flow (#6312) 2023-04-21 14:32:13 -04:00
support test: add a 'hardhat' mock window.ethereum (#6395) 2023-04-25 14:24:57 -07:00
utils test: add a 'hardhat' mock window.ethereum (#6395) 2023-04-25 14:24:57 -07:00
tsconfig.json build: tighten tsconfig (to include build cache, exclude watch folders) (#6375) 2023-04-24 16:00:04 -07:00