Skip to content
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

[Tests] Create UI tests on the Dashbaord view using JUnit or Robolectric #710

Open
9 tasks
tomastiminskas opened this issue Jan 30, 2024 · 3 comments
Open
9 tasks
Assignees

Comments

@tomastiminskas
Copy link
Collaborator

tomastiminskas commented Jan 30, 2024

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.

  1. Add any needed configuration for the selected test tool (JUnit, Robolectric, UI Automator, etc).
  2. 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
@Vayras
Copy link

Vayras commented Jan 31, 2024

Hey @tomastiminskas I would like to work on this issue, can you assign this to me

@Vayras Vayras removed their assignment Feb 7, 2024
@Vayras
Copy link

Vayras commented Feb 7, 2024

@tomastiminskas since I was unable to complete this on time I would like to be unassigned

@alejandrocordon
Copy link
Contributor

I can try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants