Closed michaelkohn closed 2 months ago
Test execution for MoH KE is now complete 🟢
Test Sequence:
Run test suite (6x10 tests) - 21/03
Sync data - 22/03
Run test suite (6x10 tests) - 22/03
Sync data - 23/03
Run test suite (6x10 tests) - 23/03
Sync data - 24/03
Run test suite (6x10 tests) - 24/03
Sync data - 25/03
Run test suite (6x10 tests) - 25/03
Sync data - 26/03
It appears the tests where not executed for this sequence
Run test suite (6x10 tests) - 25/03
Sync data - 26/03
I'd rerun this using a backdated date and see if it works cc: @michaelkohn
OK. I'm moving the status back since this one is not done yet.
@ralfudx I notice that the runs are saying (6x10 tests)
. I know we are running these 10x for each user, but I thought there were actually 7 tests, as described here. Is this because certain tests are purposely skipped? Or some failed?
@michaelkohn Yeah this is because we initially skipped the flaky test should submit a report for a newly created person
However, with this GH-ticket, this test has now been fixed and will be included in subsequent test executions
@michaelkohn further modifications will be needed for this before we can execute the tests - this takes us to Monday for the test run
Thanks @ralfudx ... can you provide a brief explanation of the modifications? Anything you need from someone else or anything we can do to make sure it isn't further blocked on Monday?
Sure @michaelkohn these are the things we always need to do for each new config:
should submit a report for a newly created person
as it's always different for each config -> (while this is the hardest part)For this ticket (MoH-KE config) apart from changing some of the selectors used for some of the form fields, we also need to modify the tests to use the same screen scroll logic
implemented for the NSSD config as that is more stable
old
get scrollView () { return $('android=new UiScrollable(new UiSelector().scrollable(true)).scrollToEnd(5, 10)'); }
new
get scrollView () {
return $('android=new UiScrollable(new UiSelector().scrollable(true)).scrollToEnd(1)');
}
and
async scrollUntilTextVisible(text) {
return $(`android=new UiScrollable(new UiSelector().scrollable(true)).scrollTextIntoView("${text}")`);
}
Moving to next week's sprint. If you don't think this can be finished during the week of 1-April, please let me know first thing Monday.
Test execution for MoH-KE Config is now complete 🟢
@michaelkohn @latin-panda kindly have a look at the data when it completely syncs
User - gladys
Device - Samsung SM-G955U, Android 9.0, API level 28
Test Sequence:
Run test suite (7x10 tests) - 04/10 68 passing, 2 Failing
Sync data - 04/11 All reports synced
Run test suite (7x10 tests) - 04/11 70 passing
Sync data - 04/12 All reports synced
Run test suite (7x10 tests) - 04/08 70 passing
Sync data - 04/09 All reports synced
Run test suite (7x10 tests) - 04/09 70 passing
Sync data - 04/10 All reports synced
Run test suite (7x8 tests) - 04/08 56 passing
-> Sync data - 04/08 All reports synced
For these tests we filled the Defaulter Follow Up
form to create a task
@michaelkohn @ralfudx I don't see this data coming into postgres, I open a questions here for Yuvraj
Yuvraj fixed the DB and now we have data in postgres. These are the results:
@michaelkohn @ralfudx, please check this information. Just to compare, this is the one from Nepal that seems to produce better data.
The script was adapted based on my understanding of the test cases planned here + saving a task form.
Dates: 8th April to 11th April (taken from this comment) Total days: 4
The query has all the keys of the telemetry we expect from the automation tests.
This is Apdex from the results
The tests have been executed but not 100% validated. We are planning on upgrading the testing framework and will need to run everything again (validation scripts and evaluation scripts). As a result, I'm closing this issue.
MoH KE : https://care-teams-4x.dev.medicmobile.org/
Execute our testing scripts using this project's configuration