-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use page objects in NnsTransactionCard.spec.ts (#3779)
# Motivation With page objects tests are easier to read and maintain. # Changes 1. Add `createMockSendTransaction` and `createMockSendTransaction` functions to specify amount and fee explicitly in the tests. 2. Use `TransactionCardPo` in `NnsTransactionCard.spec.ts` to make expectations on the rendered component. # Tests yes # Todos - [ ] Add entry to changelog (if necessary). Not necessary
- Loading branch information
Showing
2 changed files
with
80 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters