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.
Title
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.