test(e2e): deadline passed swap error state (#6444)
* 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> * swap should render an error when a transaction fails due to a passed deadline * use mining utils to manage transaction confirmation * update to use new hardhat syntax and make comments more clear * test a very long timeout in CI * Revert "test a very long timeout in CI" This reverts commit 141c28e15c511f2338c2b5b2b60521a7cb4c1bda. * fiddle with automine settings * pr feedback * cleanup * bump cypress-hardhat * use setAutomine * use setAutomine * remove .reset --------- Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org>
Showing
... | ... | @@ -102,7 +102,7 @@ |
"@vanilla-extract/webpack-plugin": "^2.1.11", | ||
"babel-plugin-istanbul": "^6.1.1", | ||
"cypress": "10.3.1", | ||
"cypress-hardhat": "^2.0.0", | ||
"cypress-hardhat": "^2.2.0", | ||
"env-cmd": "^10.1.0", | ||
"eslint": "^7.11.0", | ||
"eslint-plugin-import": "^2.27", | ||
... | ... |
Please register or sign in to comment