Skip to content

hmrc/manage-transit-movements-ui-journey-tests

Repository files navigation

manage-transit-movements-ui-journey-tests

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

Prerequisites

How to run the journey tests

  • 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
  • To see the journey tests happening, navigate to localhost:4444

Security Tests

Security testing is done through the UITestJobBuilder in build-jobs

Accessibility Tests

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.

Data Cleanup

./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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages