-
Notifications
You must be signed in to change notification settings - Fork 16
HW-53401. Added ui tests for list receipts #34
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
HW-53401. Added ui tests for list receipts #34
Conversation
ui/src/androidTest/java/com/hyperwallet/android/transfermethod/ui/ListReceiptsTest.java
Outdated
Show resolved
Hide resolved
ui/src/androidTest/java/com/hyperwallet/android/transfermethod/ui/ListReceiptsTest.java
Outdated
Show resolved
Hide resolved
ui/src/androidTest/java/com/hyperwallet/android/transfermethod/ui/ListReceiptsTest.java
Outdated
Show resolved
Hide resolved
ui/src/androidTest/java/com/hyperwallet/android/transfermethod/ui/ListReceiptsTest.java
Outdated
Show resolved
Hide resolved
ui/src/androidTest/java/com/hyperwallet/android/transfermethod/ui/ListReceiptsTest.java
Show resolved
Hide resolved
| } | ||
|
|
||
| @Test | ||
| public void testListReceipts_userHasMultipleTransactions() { |
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.
I think we need to add a use case where there's a new transaction type which is not mapped in our transaction types and whatever default value should be displayed
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.
Added
| onView(withId(R.id.toolbar)).check(matches(isDisplayed())); | ||
| onView(allOf(instanceOf(TextView.class), withParent(withId(R.id.toolbar)))) | ||
| .check(matches(withText(R.string.title_activity_receipt_list))); | ||
| //todo: check empty view when it will be ready |
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.
@skoong who's addressing this todo?
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.
@fmattos-hw this todo is addressed to @peter-joseph - if I'm not mistaken - there should be a view for empty list (like label: you don't have transactions... etc.) in the Fragment
No description provided.