Improving E2E Automated Tests for the OpenMRS 3.0 RefApp

Pasindu Rupasinghe
3 min readSep 8, 2022

Overview

* In OpenMRS 3 we use end-to-end automated tests to check whether the components are working together as a group. With the past E2E testing tool there was a bunch of issues and it contains a less number of test workflows since the test can’t be written because of the errors in the testing tool. So the project is mainly focused to fix those issues and make tests more reliable. And extend test cases. As well as the developer engagement is less in this project since the testing tool is not user-friendly because of those issue. So the project is mainly focused on three objectives.
* We have around twelve features testing with the tool after expanding test cases thus far.
Some test cases may be developed in the future because some of the features are still under development.

Objectives

Improving 3.x E2E automated testing flowing three objectives,

  1. To improve the reliability of tests -COMPLETED
  2. To improve developer engagement -COMPLETED
  3. Extend test cases -COMPLETED

Contributions

  • Repositories
  • Pull Requests

Contrib Qaframework repo -

  1. https://github.com/openmrs/openmrs-contrib-qaframework/pull/429
  2. https://github.com/openmrs/openmrs-contrib-qaframework/pull/432
  3. https://github.com/openmrs/openmrs-contrib-qaframework/pull/434

Test 3RefApp repo-

  • Fixed Issues
  • Talk Thread links

Weekly Blog Posts

Resources

Project proposal

Milestone document

Testing plan document

Final Presentation

GSoC 2022 Improving 3 x E2E Tests by Pasindu Rupasinghe

Future Works

The project’s primary need was a functional testing tool for creating test cases for O3. Now that the product is operational, the QA engineers may create tests. After the O3 developers have created the functionalities, we will be able to construct more test cases for OpenMRS 3.

Thoughts on GSoC

My experience with the Google Summer of Code 2022 was fantastic. It was a great honor to work with OpenMRS as a contributor on the project of improving the 3.x E2E test. It was also a terrific chance for me to acquire more experience working on projects. The program had a significant impact on my life. Thank you all.

--

--

Pasindu Rupasinghe

Undergraduate at University of Colombo School of Computing.