Running Protractor tests with multiple variable parameters via npm

We were facing a roadblock of running protractor tests on different environments using different configurations. We tried different methods to fix this. How we tackled this problem: We created empty parameters for each  variable paramter in protractor.conf.js params: { baseUrl: “”, url: “”, user:””, password:””, Status:””, } 2. Protractor cli has support for running commands […]

Generate reports using protractor-jasmine2-html-reporter

By Default if we generate an angular project using Angular-cli, e2e tests have support for jasmine spec reporter, but developers and QA’s need much more than that. One of the basic reporting modules that npm provides is “protractor-jasmine2-html-reporter”.  It is easy to install and configure. Steps: Run npm install protractor-jasmine2-html-reporter In your protractor config.js file add […]