GSoC 2023: Extending E2E Automated Tests for the OpenMRS 3.0 RefApp - Final Evaluation

Overview

The project “Extending E2E Automated Tests for OpenMRS 3.0 RefApp” undertaken during the Google Summer of Code (GSoC) 2023 aimed to fortify the OpenMRS ecosystem by bolstering the End-to-End (E2E) testing capabilities of the OpenMRS 3.0 Reference Application (RefApp). This initiative sought to enhance the quality, reliability, and user experience of the RefApp by leveraging the Playwright automation framework in conjunction with the TypeScript programming language. The focal point of the project included intensifying testing for the openmrs-esm-patient-chart and openmrs-esm-core repositories.

Objectives

The primary objectives of the project “Extending E2E Automated Tests for OpenMRS 3.0 RefApp” were:

  1. Setting up the patient chart repository — Complete
  2. Write Allergies E2E tests — Complete
  3. Write Vitals E2E test — Complete
  4. Write Biometrics E2E test — Complete
  5. Write Program E2E test — Complete
  6. Write Conditions E2E test — Complete
  7. Write Notes E2E test — Removed
  8. Write Medication E2E test — Incomplete
  9. Setting up the Core repository — Complete
  10. Write Login and Logout E2E tests — Complete

Contributions

I worked on two repositories:

Issues:

https://issues.openmrs.org/browse/O3-2104?source=post_page-----7f283d733db2--------------------------------

Pull Requests:

Weekly Blog Posts

Resources

Video Presentation

Talk Thread

Project Proposal

Google doc

Future Works

Looking ahead, there are some exciting possibilities for future work on the project. Right now, the main goal is to resolve the issues causing errors in the “Medication” E2E tests, which are related to server problems. Once these issues are sorted out, the plan is to merge the “Medication” E2E tests into the project, which is an important step. Additionally, there have been recent updates to the patient chart repository, which presents a great opportunity to create new E2E tests that cover these updates thoroughly. This aligns well with our goal of improving the quality and coverage of automated tests for the OpenMRS 3.0 RefApp.

Looking a bit further ahead, there’s also the potential to expand the E2E testing to other parts of the OpenMRS system. This would involve setting up the necessary testing environments, preparing the test suites, and creating comprehensive E2E tests for these other parts. Taking advantage of these opportunities for growth will have a positive impact on the OpenMRS community by making the RefApp more reliable and providing users with a better experience.

Thoughts on GSoC

Participating in GSoC 2023 has been an incredible learning experience for me. Over this period, I’ve gained valuable knowledge about new technologies and had the chance to work on real projects, similar to internships. This hands-on exposure has been invaluable for my growth as a developer. I’m truly grateful for the guidance and support my mentors provided throughout. They’ve been a great help in resolving challenges and expanding my skills. Looking forward, I’m excited about the possibility of continuing my contributions to open-source projects. I’m hopeful for the chance to participate in GSoC again, as it has been a fantastic platform for learning, personal development, and collaboration.

7 Likes