How to run single test in protractor 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 login the user successfully', function(){ 
  //test case code here})});

I would like to run single test. I can run it using fit with Jasmine 
2.1.0 but I would like to do it from command line and without changing test 
to fit or xit.

Also how can I run singe test using Grunt?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to