iupui-soic / openemr

The most popular open source electronic health records and medical practice management solution.
https://open-emr.org/
GNU General Public License v3.0
0 stars 2 forks source link

Added new Selenium tests #8

Closed shinair closed 4 months ago

shinair commented 4 months ago

Added new Selenium tests to test the following features:

  1. Login
  2. Logout
  3. Patient Search
  4. Vitals
sunbiz commented 4 months ago

I suggest adding the login/logout as separate functions in the utils that can be reused in the setup and teardown process.

shinair commented 4 months ago

Made the following changes:

  1. Added a new function for login in utils. Changed all the tests to use this. This function does the login part and closes all the open tabs since this was also repeated in all the tests.
  2. Changed all the hard-coded urls with variables or values from secret.json.
  3. Modified the readme to reflect the new secret.json structure.
sunbiz commented 4 months ago

Looks good... please squash the 3 commits into 1.

shinair commented 4 months ago

Done, squashed all the commits into 1.