tables
tables copied to clipboard
add Espresso tests for TableDisplayActivityTest
PR Description:
Add Espresso tests for verifying UI elements, fragment transactions, and RecyclerView interactions in the TablesDisplayActivity
Changes Made
-
Added Test Case:
testOnCreate
- Description: Verifies that the RecyclerView is displayed when the activity is created
-
Added Test Case:
testRecyclerViewItemClick
- Description: Simulates a click on an item in the RecyclerView and verifies that the TableDisplayActivity is launched.
-
Added Test Case:
testFragmentTransaction
- Description: Adds a
TableManagerFragment
to the activity and verifies that it is added successfully
- Description: Adds a
-
Added Test Case:
testTableDetailsDisplay
- Description: Simulates selecting a table and verifies that the details are displayed correctly.