Skip to content

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

Description

@tomastiminskas

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

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions