Charles Bachmeier
34a22ef9f0
fix: chain query parameter doesn't block you from switching chains ( #6926 )
...
* useSearchParams
* delete old param
* properly handle a connected wallet
* update chain query via network switcher
* updated tests
* working test
* comment typo
* don't overwrite current params
* change chain based on user wallet interaction
* one instance of set
* update chainIdRef on account load
* useeffect
* set chainIdRef when isActive
* remove logging
* update comment
* make condition else if
2023-07-20 17:05:12 -07:00
eddie
07eb9eb9a2
fix: combine userState with default injected wallet in cypress setup ( #6849 )
...
* fix: combine userState with default injected wallet in cypress setup
* fix: unconnected state in two tests
* fix: update name
2023-07-06 14:01:13 -07:00
eddie
5640c115de
fix: remove error popup when switching chains from URL param ( #6866 )
2023-07-03 17:13:12 -07:00
Zach Pomerantz
5caaaf1b1f
test(e2e): switching network ( #6662 )
...
* test(e2e): switching network
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
* fix: reconnect after failed chain switch
* test(e2e): add forks to hardhat.config
* test(e2e): wait on wallet_switchEthereumChain
* build: upgrade cypress-hardhat
* fix: do not disconnect whilst switching
* fix: unit tests
* fix: better chain selector check
* test(e2e): better helper fn naming
* test(e2e): better stub naming
* fix: doc re-activation
* fix: add back click
* build: upgrade cypress-hardhat to include network caching
* unwrap web3status
---------
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
2023-06-21 13:15:03 -04:00
Nate Wienert
89a7d98b41
ci: fix wallet disconnect test regression ( #6723 )
2023-06-07 13:17:58 -10:00
Zach Pomerantz
0076fdc65b
test(e2e): skip outdated disconnect-wallet test ( #6722 )
2023-06-07 16:57:37 -04:00
Zach Pomerantz
f2af46037e
test(e2e): wallet connection ( #6661 )
2023-06-06 08:57:04 -07:00