End-To-End Testing Framework using JavaScript