medic / care-teams

For Product Management
0 stars 0 forks source link

Testing scenarios written #5

Closed michaelkohn closed 3 months ago

michaelkohn commented 5 months ago

Success Criteria

Steps

michaelkohn commented 4 months ago

@ralfudx

Here's the scenario we should run through

  1. Visit the Contacts Page List view
  2. Tap on CHW’s Area (user’s parent place)
  3. Navigate back to Contacts Page List View (tapping the back arrow in upper left corner)
  4. Tap on a household
  5. Tap on a person
  6. Navigate back to the household level
  7. Create a new person
  8. Create a report for that person
  9. Go back to the Contacts Page List View
  10. Search for the person you just created
  11. Visit the Reports page
  12. Tap on a report
  13. Navigate back
  14. Visit the Tasks page
  15. Select a task
  16. Load Messages tab
  17. Select a Message from the list
  18. Load analytics page
  19. Close the app and open it again
ralfudx commented 4 months ago

@michaelkohn kindly review these Test Cases: The plan is to have each of these running as a test and the combination of all 7 of them as a suite/set

  1. I can view the CHW's Area

    • Open CHT app
    • Visit the Contacts Page List view
    • Tap on CHW’s Area (user’s parent place)
    • Navigate back to Contacts Page List View (tapping the back arrow in upper left corner)
  2. I can view a person within the household

    • Open CHT app
    • Visit the Contacts Page List view
    • Tap on a household
    • Tap on a person
    • Navigate back to the household level (tapping the back arrow in upper left corner)
  3. I can submit a report for a newly created person

    • Open CHT app
    • Visit the Contacts Page List view
    • Tap on a household
    • Create a new person
    • Create a report for that person
    • Go back to the Contacts Page List View
    • Search for the person you just created
  4. I can open the Reports page and view a report

    • Open CHT app
    • Visit the Reports page
    • Tap on a report
    • Navigate back to Reports page (tapping the back arrow in upper left corner)
  5. I can open the Tasks page and view a task

    • Open CHT app
    • Visit the Tasks page
    • Select a task
    • Navigate back to Tasks page (tapping the cancel icon in upper left corner)
  6. I can open the Messages page and view a message

    • Open CHT app
    • Visit Messages tab
    • Select a Message from the list
  7. I can open the Performance page and relaunch the app

    • Open CHT app
    • Visit analytics page
    • Close the app and open it again
michaelkohn commented 4 months ago

Looks great, thanks @ralfudx . I realize some of these probably build on each other so there's a logical order to work on them, but here's the order in which I'm interested in them (basically anything on the Contacts Page first, then Tasks, then Analytics, then then Reports, then Messages). Feel free to ignore this list and just work on them whatever makes the most sense for you though.

  1. I can submit a report for a newly created person
  2. I can view a person within the household
  3. I can view the CHW's Area
  4. I can open the Tasks page and view a task
  5. I can open the Performance page and relaunch the app
  6. I can open the Reports page and view a report
  7. I can open the Messages page and view a message
ralfudx commented 4 months ago

@michaelkohn here's the current state of things:

  1. I can submit a report for a newly created person 🚧
  2. I can view a person within the household ✅
  3. I can view the CHW's Area ✅
  4. I can open the Tasks page and view a task ✅
  5. I can open the Performance page and relaunch the app ✅
  6. I can open the Reports page and view a report ✅
  7. I can open the Messages page and view a message ✅

Here's a video of the tests running on the AVD set-up with Android studio - https://monosnap.com/file/twKEKKBjlDwCA65eMxYftcehgLyYUA

NB:

Next steps:

  1. Complete pending test - I can submit a report for a newly created person
  2. Run test-suite on physical device
  3. Demo to team
latin-panda commented 4 months ago

@ralfudx remember that telemetry data (i.e. Apdex) is aggregated and pushed to the test instance the next day. E.g. Activities from Monday will only be visible on Tuesday after the user syncs.

You might want to simulate the 'next day' and sync the app, so we can get the Apdex scores.

michaelkohn commented 3 months ago

@ralfudx were you able to complete the last step of switching the date and syncing?

michaelkohn commented 3 months ago

I'm going to close this. The scenarios are written, just waiting to test them on MoH KE config.