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

Transaction rejection #304

Open alejogranerorequest opened 7 months ago

alejogranerorequest commented 7 months ago

The wallet.reject() is for rejection the transaction? I've tested it but is not working. Is it possible to add a new one for that like wallet.rejectTransaction()?

cc: @osis

System:

osis commented 7 months ago

hhhmmm this was meant to work in this context. Will have to take a look.

osis commented 6 months ago

@alejogranerorequest do you have any screenshots or context on where this got stuck?

alejogranerorequest commented 6 months ago

Just simply try to reject the transaction instead of confirming it when the metamask's payment popup is shown. I don't have another clue :(

osis commented 5 months ago

just checked this again in the tests. Looks like it's okay when rejecting from this screen.

image

Does the screen look different when you're trying to reject?

alejogranerorequest commented 5 months ago

Hey @osis , yes I have the same screen and I cannot click on Reject :(