diff --git a/src/js/calculator/helsinki_benefit_amount_estimate/tests/README.md b/src/js/calculator/helsinki_benefit_amount_estimate/tests/README.md index 195461ee1..301306861 100644 --- a/src/js/calculator/helsinki_benefit_amount_estimate/tests/README.md +++ b/src/js/calculator/helsinki_benefit_amount_estimate/tests/README.md @@ -38,4 +38,14 @@ Run tests line-by-line: npm run test:debug ``` ---- \ No newline at end of file +--- + +## To run manual tests on local + +* Start a local server on **drupal-hdbt/**, for instance `python -m http.server 3001` +* Open http://localhost:3001/src/js/calculator/helsinki_benefit_amount_estimate/helsinki-benefit-test.html on your browser. + +## To run automatic browser tests +This requires test dependencies to be installed + +`cd src/js/calculator/helsinki_benefit_amount_estimate/tests && npm run test`