confio / tgrade-app

Tgrade - building a secure, regulatory friendly, decentralised finance platform.
https://dapp.tgrade.finance
Apache License 2.0
4 stars 4 forks source link

Research how to connect E2E tests to "Keprl" wallet #573

Closed Ebazhanov closed 2 years ago

Ebazhanov commented 2 years ago

Since we want to remove Demo wallet https://github.com/confio/tgrade-app/issues/604 we should be able to connect E2E tests to Keprl wallet

Ebazhanov commented 2 years ago

Why did you start looking at how to test Keprl wallet?

What does this mean for QA? Since there are no integration or e2e tests, it means that it will be necessary to do testing manually for Kepler.

My search result: Cypress does not have a direct solution on how to test the browser extension and also does not have any related plugins https://docs.cypress.io/plugins/directory

Blocker: Without additional support, cypress can only install the desired extension without a way to manipulate the actions in that extension.

Search criteria: I focused on finding a solution exclusively on cypress because it would be easier to integrate it into an existing framework.

Useful findings: There are some other similar solutions based on metamask testing

Ebazhanov commented 2 years ago

@HannuProd, @abefernan can you please advise where we should start writing tests for Keprl wallet, thanks

abefernan commented 2 years ago

I see a few options:

Ebazhanov commented 2 years ago

Thanks for the feedback Abel, I have created follow up ticket https://github.com/confio/tgrade-app/issues/614