3.x RefApp Workflow Tests |
---|
3.x Demo Build |
This repository is a monorepo containing two different test projects which leverage two different test frameworks: Cypress and Playwright. The reason for the split is that Cypress, at the time of writing this, has a known issue that prevents testing the offline features that have been introduced to the OpenMRS frontend. The Playwright framework supports offline mode. Therefore, we use Playwright to write offline related E2E tests.
To do the basic repository setup:
- Clone the project
git clone [email protected]:openmrs/openmrs-test-3refapp.git cd openmrs-test-3refapp
- Install the dependencies
yarn install
At this point, you can continue with either the Cypress or the Playwright project. You can find more details about these two projects here:
-
Checkout to docker directory
cd docker
-
Run the app
docker-compose -f docker-compose-refqa-3x.yml up
Follow this steps for setting up the local instance
-
Clone the repository
git clone -b 3.x [email protected]:openmrs/openmrs-distro-referenceapplication.git
-
Follow the instruction provided by the readme
- If the build fails, try deleting existing containers
docker compose down -v
- Create a new GitHub workflow file under
.github/workflows/
directory. An example workflow can be found here. - Add the workflow badge to the readme file under 3.x RefApp section. It should take the following format:
[![<workflow name>](<link-to-the-workflow>/badge.svg)](<link-to-the-workflow>)
- For the platform, manually run both Installation and upgrade workflows again.
- Check all relevant builds to the release above to be sure they pass
-
We use JIRA to track issues and monitor project development. Refer to this link to view all issues and project summary: QA Kanban board JIRA.
-
To get started contributing, start working on introductory issues in JIRA and check out OpenMRS Pull Request Tips.
-
There is a detailed guide for setting up the OpenMRS QA Framework locally, checkout the guide here.