Skip to content
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

How to connect Account2 to my site #276

Closed
brave-coder9 opened this issue Nov 16, 2021 · 2 comments
Closed

How to connect Account2 to my site #276

brave-coder9 opened this issue Nov 16, 2021 · 2 comments

Comments

@brave-coder9
Copy link

Hi!
I created the Account2 by cy.createMetamaskAccount
And cy.switchMetamaskAccount
But I cannot let the Account2 connect to my website.
How can I resolve this?
Thank you!

@drptbl
Copy link
Member

drptbl commented Nov 26, 2021

Hey @brave-merida.

It sounds like dapp-related thing, not related to synpress itself.

After calling cy.switchMetamaskAccount, account is properly switched to another in metamask, right?

So now, it depends how your dapp handles this specific case. For example, you could refresh the website in your tests (afte switching your account in metamask) and try to connect wallet again in the dapp. This time it should connect with your other account.

@drptbl
Copy link
Member

drptbl commented Dec 3, 2021

I'm closing this task as it doesn't seem to be related to synpress at all.

Please re-open if you're having any issues with synpress itself.

Thanks,
Jakub.

@drptbl drptbl closed this as completed Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants