-
Notifications
You must be signed in to change notification settings - Fork 7
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
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. |
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
TransactionTile
widget.Closes #290.