Civil CCD Definition and E2E tests
The project is dependent on other Civil repositories:
To set up complete local environment for Civil check civil-sdk
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-ccd-pr-PR_NUMBER.service.core-compute-preview.internal
To access Camunda visit url (login and password are both admin
):
https://camunda-civil-ccd-pr-PR_NUMBER.service.core-compute-preview.internal
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.
To run tests with browser window open set SHOW_BROWSER_WINDOW=true
. By default, the browser window is hidden.
To run smoke tests enter yarn test:smoke
.
Before running API tests, you will need the SENDGRID_API_KEY
environment variable setup and to be running the service locally along with all containers.
To run API tests enter yarn test:api
.
This project is licensed under the MIT License - see the LICENSE file for details