This is the UI journey test repository for the following frontend services:
- manage-transit-movements-frontend
- manage-transit-movements-departure-frontend
- ctc-departure-trader-details-frontend
- ctc-departure-route-details-frontend
- ctc-departure-transport-details-frontend
- ctc-departure-documents-frontend
- ctc-departure-items-frontend
- ctc-departure-guarantee-details-frontend
- manage-transit-movements-arrivals-frontend
- manage-transit-movements-cancellation-frontend
- manage-transit-movements-unloading-frontend
- ctc-presentation-notification-frontend
- Docker
- Docker compose
- Docker selenium grid
- MongoDB
- Ensure that you have cloned docker-selenium-grid and have executed
./start.sh
to run the relevant containers - Start the relevant services in service manager with
sm2 --start CTC_TRADERS_P5_ACCEPTANCE
- Run:
- all tests with
./run_tests.sh
- isolated tests with:
./run_with_tags.sh Departure
./run_with_tags.sh Arrival
./run_with_tags.sh Cancellation
./run_with_tags.sh Unloading
./run_with_tags.sh Manage
- all tests with
- To see the journey tests happening, navigate to
localhost:4444
Security testing is done through the UITestJobBuilder
in build-jobs
Accessibility testing is also done through the UITestJobBuilder
, and the report can be generated locally and in Jenkins by appending testReport
when running the tests.
./drop_arrival_frontend_data.sh
, ./drop_departure_frontend_data.sh
and ./drop_unloading_frontend_data.sh
are cleanup scripts for dropping the user-answers
collections in MongoDB.