Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 3.32 KB

File metadata and controls

60 lines (39 loc) · 3.32 KB

manage-transit-movements-arrival-frontend

This service allows a user to record a transit movement arrival at its destination.

Service manager port: 10121

Testing

Run unit tests:

sbt test

Run integration tests:

sbt it/test

Run accessibility linter tests:

sbt A11y/test

Running manually or for journey tests

Transition

sm2 --start CTC_TRADERS_P5_ACCEPTANCE_TRANSITION
sm2 --stop MANAGE_TRANSIT_MOVEMENTS_ARRIVAL_FRONTEND_TRANSITION
sbt -Dplay.additional.module=config.TransitionModule run

Final

sm2 --start CTC_TRADERS_P5_ACCEPTANCE
sm2 --stop MANAGE_TRANSIT_MOVEMENTS_ARRIVAL_FRONTEND
sbt -Dplay.additional.module=config.PostTransitionModule run

If you hit an entry point before running the journey tests, it gets the compile out of the way and can help keep the first tests from failing.

e.g.: http://localhost:10121/manage-transit-movements/arrivals/movement-reference-number

Feature toggles

The following features can be toggled in application.conf:

Key Argument type sbt Description
trader-test.enabled Boolean sbt -Dtrader-test.enabled=true run If enabled, this will override the behaviour of the "Is this page not working properly?" and "feedback" links. This is so we can receive feedback in the absence of Deskpro in externaltest.
banners.showUserResearch Boolean sbt -Dbanners.showUserResearch=true run Controls whether or not we show the user research banner.
play.additional.module String sbt -Dplay.additional.module=config.PostTransitionModule run Controls which module (TransitionModule or PostTransitionModule) we bind to the application at start-up.
play.http.router String sbt -Dplay.http.router=testOnlyDoNotUseInAppConf.Routes run Controls which router is used for the application, either prod.Routes or testOnlyDoNotUseInAppConf.Routes

Scaffold

See manage-transit-movements-departure-frontend

User answers reader

See manage-transit-movements-departure-frontend

License

This code is open source software licensed under the Apache 2.0 License.