Automation Framework

Union Automation

Repo Url:https://dev.azure.com/finappsengineering/Platform%20Services%20Teams/_git/UnionQa Automation Framework: UI Automation: WebdriverIO with Cucumber API Automation: Axios with Cucumber

Steps to setup Union automation: 1. Go to the repository url and clone it on your local machine. 2. Run command “npm i” in the console to install all the dependencies. 3. Run command “npm run build” to build the tests. 4. Run command “npm run test” to run all the tests. 5. To run tests based on a specific tag, run command “npm run test – –cucumberOpts.tagExpression=’@‘“.

Pipelines: The Union automation tests are run via a pipeline named UnionQA-UI.yml. https://dev.azure.com/finappsengineering/Platform%20Services%20Teams/_apps/hub/ms.vss-build-web.ci-designer-hub?pipelineId=993&branch=main

This pipeline is triggered as part of the UnionUI-Prebuild pipeline

The QA pipeline runs in 5 stages. 1. Prebuild 2. Mend 3. Sonarqube 4. UI tests (executed with file BuildPipelineUnionQAUI.yaml 5. API tests (executed with file azure-pipelines.yaml)