sphinx-kotlin
sphinx-kotlin copied to clipboard
[Tests] Create UI tests on the Dashbaord view using JUnit or Robolectric
Context
The Dashbaord view is the view that shows after signing up or logging in (entering the PIN). UI Test coverage needs to be added in this view.
Note: Use branch develop
as base branch
Files involved:
DashboardFragment.kt
DashboardViewModel.kt
fragment_dashboard.xml
DashboardFragmentsAdapter.kt
FeedFragment.kt
ChatListFragment.kt
PaymentReceiveFragment.kt
TransactionsFragment.kt
ScannerFragment.kt
The goal is to test some basic UI interactions in the Dashboard view and their expected results.
- Add any needed configuration for the selected test tool (JUnit, Robolectric, UI Automator, etc).
- Implement the following test cases
Dashboard View
- [ ] Tapping Feed tab should show feed content (DashboardFeedsContainerViewController)
- [ ] Tapping Friends tab should show Friends chats (ChatsContainerViewController)
- [ ] Tapping Tribes tab should show Tribes chats (ChatsContainerViewController)
- [ ] When on Tribes tab, tapping Add Tribe button should present Discover Tribes view (DiscoverTribesWebViewController)
- [ ] Tapping on left arrow button on bottom bar should present REQUEST AMOUNT view (CreateInvoiceViewController)
- [ ] Tapping on right arrow button on bottom bar should present Scanner View (NewQRScannerViewController)
- [ ] Tapping on scanner button on bottom bar should present Scanner View (NewQRScannerViewController)
- [ ] Tapping on transactions button on bottom bar should present Transactions View (HistoryViewController)
- [ ] When on Friends or Tribes tabs, typing on Search field should filter chat rows based on search term
Hey @tomastiminskas I would like to work on this issue, can you assign this to me
@tomastiminskas since I was unable to complete this on time I would like to be unassigned
I can try it