-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E2E tests for payment portal #225
Conversation
@gentlementlegen I'd appreciate any comments on how to improve these I kept the code base changes to a minimum for two reasons:
Perhaps it's because I'm wet behind the ears still but it's pretty difficult to handle MM interactions from start to finish, I just stubbed the global for it and made it work that way but maybe there's a better way for handling it? I'll also add that in using Anvil because you do not need explicit permission if you are using one of the default accounts, transactions can be fired to Anvil while the UI represents a failed tx state. I had tried using two instances set to different ports one would be the When I run cypress GUI, I have no extensions installed which I assume is how it should be tested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Keyrxng Thank you for the tests. I tried to run them locally but 2/3 failed. Could you link the latest successful run to this PR?
Appreciated mate.
I see the balance is N/A meaning that anvil hasn't been setup, did you do:
in three separate terminals? If not that is the problem, if you did then something else is amiss I'll need to try debug. Very rarely anvil will fail to connect to the fork_url rpc endpoint. Wait you must have done if the others passed right? I'm a bit confused with this atm but I'll try my best with it on my end to reproduce |
ready when you are @gentlementlegen |
If this could be merged in today that would be amazing cheers team @0x4007 @gentlementlegen, I'm only pushing for it because it's 99.98% ready |
Resolves #215