• Jordan Frankfurt's avatar
    test(e2e): deadline passed swap error state (#6444) · d1995bc5
    Jordan Frankfurt authored
    * 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: default avatarZach 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: default avatarZach Pomerantz <zzmp@uniswap.org>
    d1995bc5
index.tsx 8.8 KB