medic / care-teams

For Product Management
0 stars 0 forks source link

Script to use the settings and fill up forms #102

Closed latin-panda closed 1 month ago

latin-panda commented 2 months ago

Make a script to take any form, fill in each page's fields, and then submit the form.

Continuation of this:

I made a gist with a draft of what this settings file might look like. It will probably get simplified a bit more later. You can see a JSON file containing the settings. The idea is to have one file per config (moh-kenya, moh-uganda, etc), which contains the selectors and values to make the e2e work.

latin-panda commented 2 months ago

I opened the first PR of 3: https://github.com/medic/cht-core/pull/9068 This PR introduces that settings file, and now the tests are using it for: device information, instance URL and user credentials.

latin-panda commented 2 months ago

@michaelkohn This task will continue next week.

latin-panda commented 1 month ago

I'll work on this next week. Because I want to finish the supervisor app breadcrumbs first..

latin-panda commented 1 month ago

In progress!

latin-panda commented 1 month ago

Progress shared in the daily, will continue next week

latin-panda commented 1 month ago

Finished waiting for feedback

latin-panda commented 1 month ago

Completed, code was merged.