install npm
curl -L https://npmjs.org/install.sh | sh
Install dependencies
npm install
Packages required are listed in file package.json
.
They are installed locally.
Bower doesn’t concatenate or minify code or do anything else - it just installs the right versions of the packages you need and their dependencies.
Packages required are listed in file bower.json
and installed in bower_conponents/
.
The installation directory of bower is set by .bowerrc
file.
npm start
Karma is the test runner for unit tests
To start the unit test use the following command:
npm test
Protractor is used to run E2E tests
After customer_service
login, DB.user
is customer_service
, path
is /event_requests
.
length of DB.event_requests
increase by 1
After senior_customer_service
approve
request, request reviewer
changed to finance_manager
.
After admin_manger
approve
request, request reviewer
changed to approved
.
After senior_customer_service
reject
request, reviewer
changed to Rejected by SeniorCS
.
After admin_manger
reject
request, reviewer
changed to Rejected by Admin
.