Before running the tests, start an Etherpad instance on your machine.
To run the frontend tests, point your browser to <yourdomainhere>/tests/frontend
<yourdomainhere>/tests/frontend
To run the backend tests, run cd src and then npm test
cd src
npm test