stakwork / sphinx-kotlin

MIT License
18 stars 11 forks source link

[Tests] Create UI tests on the Profile view using JUnit or Robolectric #709

Open tomastiminskas opened 8 months ago

tomastiminskas commented 8 months ago

Context

The Profile view is accesible from Left Menu. UI Test coverage needs to be added in this view.

Note: Use branch develop as base branch

Files involved: ProfileFragment.kt ProfileViewModel.kt fragment_profile.xml QRCodeFragment.kt QRCodeViewModel.kt fragment_qr_code.xml

The goal is to test some basic UI interactions in the Profile view and their expected results.

  1. Add any needed configuration for the selected test tool 1. Add any needed configuration for the selected test tool (JUnit, Robolectric, UI Automator, etc)
  2. Implement the following test cases

Profile view / Basic Tab

Profile view / Advanced tab

Profile view / QR code detail view

After tapping on QR code icon on Address field the QR code detail view is presented

Profile view / Backup your keys

MathRoda commented 8 months ago

Hey i'll take on this. Assign it to me.

tomsmith8 commented 7 months ago

@MathRoda hey, any update on this one?

MathRoda commented 7 months ago

@tomsmith8 No luck so far, it might be related to how dependency injection structured in the project. i'll try again on the weekend and update you guys on monday