-
Notifications
You must be signed in to change notification settings - Fork 6
test: add ui tests for TransactionTile widget
#314
test: add ui tests for TransactionTile widget
#314
Conversation
| ], | ||
| ); | ||
|
|
||
| testWidgets('should show paying and payout currencies', (tester) async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should be payin instead of paying
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Updating.
| void main() { | ||
| group('TransactionTile', () { | ||
| final pfi = TestData.getPfi('did:dht:pfiDid'); | ||
| const exchangeId = 'rfq_01ha835rhefwmagsknrrhvaa0k'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is exchangeId being used for anything other than initializing transactionTileTestWidget? if not, this variable probably isn't necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's only used to initialize the TransactionTile widget.
I'll remove it the extra variable.
|
@ethan-tbd all current feedback have been addressed. |
ethanwlee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work!
This PR adds UI tests for the
TransactionTilewidget.Closes #290.