TenKeyLabs / dappwright

🏌🏼‍E2E testing for dApps using Playwright + MetaMask & Coinbase Wallet
https://www.npmjs.com/package/@tenkeylabs/dappwright
Other
83 stars 21 forks source link

Add new network timeout issue #301

Closed alejogranerorequest closed 3 months ago

alejogranerorequest commented 7 months ago

Hey @osis , I have an issue trying to add Polygon mainnet network using wallet.addnetwork(), this is the issue:

Screenshot 2024-01-31 at 13 23 00

Polygon is shown in the list un the previous step before adding a network and providing all the details. Is it possible to add a network from that list? Like this: wallet.addNetwork("Polygon mainnet").

Playwright version: 1.41.1 Dappwright version: 2.8.0

witem commented 7 months ago

Similar problem in my case image

osis commented 7 months ago

Hhmmm this is a tricky situation since they are the pre-loaded networks. This functionality use to work but I guess they started guarding duplicates more aggressively? 🤔

witem commented 7 months ago

Hhmmm this is a tricky situation since they are the pre-loaded networks. This functionality use to work but I guess they started guarding duplicates more aggressively? 🤔

In my case this was related to some unresponsive RPC, which cause timeout on other versions of metamask

osis commented 3 months ago

I'm going to close this then as it's something outside the control of this lib.