This is the template README. Please update this with project specific content.
UI journey tests suite for the securities-transfer-charge-reg-frontend using SeleniumWebdriver with ScalaTest.
Start Mongo Docker container as follows:
docker run --rm -d -p 27017:27017 --name mongo percona/percona-server-mongodb:6.0To start the required services via service manager, run:
sm2 --start STAMP_TAXES_ON_SHARES_ALLRun tests as follows:
- Argument
<browser>must bechrome,edge, orfirefox. - Argument
<environment>must belocal,dev,qaorstaging.
sbt clean -Dbrowser="<browser>" -Denvironment="<environment>" test testReportTo run the UI tests locally, execute the script:
./run-tests.sh <browser> <environment>The run_zap_tests.sh script uses dast-config-manager to run ZAP tests locally using the DAST Docker image.
To run the ZAP tests locally, execute the script:
./run_zap_tests.shCheck all project files are formatted as expected as follows:
sbt scalafmtCheckAll scalafmtCheckFormat *.sbt and project/*.scala files as follows:
sbt scalafmtSbtFormat all project files as follows:
sbt scalafmtAllThis code is open source software licensed under the Apache 2.0 License.