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

Packaged Nifty Wallet and e2e testing-oriented DSL #23

Open
pablofullana opened this issue Aug 23, 2018 · 0 comments
Open

Packaged Nifty Wallet and e2e testing-oriented DSL #23

pablofullana opened this issue Aug 23, 2018 · 0 comments

Comments

@pablofullana
Copy link

Title

Title: Packaged Nifty Wallet and e2e testing-oriented DSL
Layer: TBD

Abstract

NPM package containing Nifty Wallet and e2e testing-oriented DSL.

Rationale

One of the most time-consuming and less DRY processes, that are starting to come up when creating e2e tests, is interacting with a wallet to mimic a real user experience. Nowadays, doing this requires writing over and over again, in every app we are testing, functions to interact with the wallet.

Specification

Proposal here is to extract all these common functions, simplified as much as possible and with a developer-friendly DSL into a standalone package to be re-used in each testing suite.

One possible implementation could be to include Nifty Wallet installation as well. So, by including the proposed package, any developer would have a friendly way of interacting with Nifty Wallet when writing e2e tests for a given dapp.

Open for discussion.

Note: We are already interacting with MM when testing some dapps, so this would mean switching to NW, enhancing those tests ad-hoc code and improving overall maintainability.

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

1 participant