SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
293 stars 142 forks source link

Setup Jenkins for execution of Sormas UI automation tests. #3262

Closed raghupola-vg closed 3 years ago

raghupola-vg commented 4 years ago

Situation Description

The test scripts are ready and needs to be integrated as part of CI/CD pipeline

Feature Description

Install the necessary Katalon plugin on Jenkins and create a project to execute the automation tests before every release.

Required plugin on Jenkins: Katalon Testops plugin

Possible Alternatives

Additional Information

Jenkins Automation Project Setup.pdf

JonasCir commented 4 years ago

Hi @raghupola-vg just for my understanding: Will these UI automation tests (partially) replace the manual testing which is done before each release?

raghupola-vg commented 4 years ago

@JonasCir Partially yes, but this would only cover parts of the UI bugs that would be fixed by the devs. The manual testing which is done before each release focuses mainly on the features and other functional aspects.

raghupola-vg commented 3 years ago

@StefanKock Attached the required details for the project setup as a PDF to the ticket.

StefanKock commented 3 years ago

@raghupola-vg:

  1. Against which instance(s) of SORMAS-Project are these tests suppose to run?
  2. Is this doc also relevant and uptodate: https://github.com/hzi-braunschweig/SORMAS-Project/tree/development/sormas-e2e-ui-tests ? For example there is Xvfb mentioned.
raghupola-vg commented 3 years ago

@StefanKock

  1. The tests are executed on test.sormas.netzlink.com instance but this is defined inside the Katalon global test configs.
  2. It is not updated, and the xvfb is not a necessary field. The rest of the doc is the same except the Katalon version which should be 6.3.3 and the command arguments must be changed as per the document attached in the ticket above. I will update the git hub read me too after initial execution
StefanKock commented 3 years ago

I will clarify the installation on the Jenkins host on friday

raghupola-vg commented 3 years ago

Jenkins jobs are scheduled and works fine with Chrome browser. Separate ticket will be created for Firefox browser: #3539