GithubHelp home page GithubHelp logo

rbuisson / openmrs-test-3refapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openmrs/openmrs-test-3refapp

0.0 0.0 0.0 25.1 MB

Shell 2.05% JavaScript 53.56% TypeScript 36.96% Gherkin 7.44%

openmrs-test-3refapp's Introduction

QA Dashboard for RefApp 3.x: Project Status


RefApp 3.x E2E tests

3.x RefApp Workflow Tests
3.x Demo Build Build Status
RefApp 3.x Login
RefApp 3.x Logout
RefApp 3.x Patient Registration
RefApp 3.x User settings
RefApp 3.x Patient Search
RefApp 3.x Patient Conditions
RefApp 3.x Form Management
RefApp 3.x Patient allergies

Setting up the project

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:

  1. Clone the project
     git clone [email protected]:openmrs/openmrs-test-3refapp.git
     cd openmrs-test-3refapp
    
  2. 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:

Docker

Run the local instance

  1. Checkout to docker directory

    cd docker
    
  2. Run the app

    docker-compose -f docker-compose-refqa-3x.yml up
    

If the docker container doesn't work you have to set up the local instance by packaging.

Follow this steps for setting up the local instance

  1. Clone the repository

    git clone -b 3.x [email protected]:openmrs/openmrs-distro-referenceapplication.git
    
  2. Follow the instruction provided by the readme

  • If the build fails, try deleting existing containers
    docker compose down -v
    

Creating a GitHub workflow

  1. Create a new GitHub workflow file under .github/workflows/ directory. An example workflow can be found here.
  2. 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>)

Before Releasing

  • For the platform, manually run both Installation and upgrade workflows again.
  • Check all relevant builds to the release above to be sure they pass

Wiki

  • 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.

openmrs-test-3refapp's People

Contributors

pasindur99 avatar ibacher avatar manuelroemer avatar jnsereko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.