Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

hmcts/civil-damages-ccd-definition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is now deprecated, civil-ccd-definition is used instead.

civil-damages-ccd-definition

Civil Damages CCD Definition and E2E tests

Contents:

Building and deploying the application

Dependencies

The project is dependent on other Civil Damages repositories:

To set up complete local environment for Civil Damages check civil-damages-sdk

Preview environment

Preview environment will be created when opening new PR. Camunda BPMN definitions will be pulled from the latest GitHub release. Service instance will be running the latest image version deployed to ACR.

To access XUI visit url (make sure that it starts with https, otherwise IDAM won't let you log in):

  • https://xui-civil-damages-ccd-pr-PR_NUMBER.service.core-compute-preview.internal

To access Camunda visit url (login and password are both admin):

  • https://camunda-civil-damages-ccd-pr-PR_NUMBER.service.core-compute-preview.internal

Testing

The repo uses codeceptjs framework for e2e tests.

To install dependencies enter yarn install.

To run e2e tests enter yarn test in the command line.

Optional configuration

To run tests with browser window open set SHOW_BROWSER_WINDOW=true. By default, the browser window is hidden.

Smoke test

To run smoke tests enter yarn test:smoke.

API test

To run API tests enter yarn test:api.

License

This project is licensed under the MIT License - see the LICENSE file for details