-
Notifications
You must be signed in to change notification settings - Fork 5
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
Adding Keplr Intereactions for Wallet and Handle an Edge Case #3
Adding Keplr Intereactions for Wallet and Handle an Edge Case #3
Conversation
@@ -361,7 +385,7 @@ | |||
retries = 0; | |||
await page.bringToFront(); | |||
await module.exports.waitUntilStable(page); | |||
return page; | |||
return page |
Check notice
Code scanning / CodeQL
Semicolon insertion Note
the enclosing function
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.
☝️
* feature: adding keplr interaction for creating an account using private key * feature: keplr interaction for importing an existing wallet and creating a new wallet * fix: fixed implementation of waitAndClickByText to perform exact matching --------- Co-authored-by: Fraz Arshad <[email protected]>
…ady-connected-to-wallet' into rs-handling-popup-case-when-already-connected-to-wallet
cy.contains('agoric1p2aqakv3ulz4qfy2nut86j9gx0dx0yw09h96md'); | ||
cy.contains('Make an Offer').click(); | ||
return cy.confirmTransaction().then(taskCompleted => { | ||
expect(taskCompleted).to.be.true; | ||
}); | ||
}); |
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.
these functions should not contain logic related to our offer up dapp since these will be part of the synpress framework and will be exposed to all users
@@ -361,7 +385,7 @@ | |||
retries = 0; | |||
await page.bringToFront(); | |||
await module.exports.waitUntilStable(page); | |||
return page; | |||
return page |
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.
☝️
The PR adds Kepler Interactions for:
And it handles an edge case illustrated below:
Scenario:
Test Case 1: The user has to connect with the wallet. The user clicks the connect wallet button. Popups show and the user approves the connection.
Test Case 2: The user is performing some operation. The user needs to connect to the wallet. The user clicks the connect wallet button. No popup shows ==> The user was already connected to the wallet as this happened in the first test case.
The PR addresses this edge case and handles scenarios where the user is already connected to the wallet.