How can I execute a single test in Protractor with Selenium?
describe('Login page', function() {
beforeEach(function() {
browser.ignoreSynchronization = true;
ptor = protractor.getInstance();
});
it('should contain navigation items', function(){
//test case code here
});
it('should successfully login the user', function(){
//test case code here
})
});
I am interested in running only individual tests without changing the code, preferably from the command line. Is there a way to achieve this in Protractor and Selenium?
Additionally, how can I run a single test using Grunt?