You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: