I guess this is possible and actually quite simple, but I'm new to both grunts and protractors, and I could not find the answer online (maybe I used the wrong search criteria).
I have the following e2e test in test/e2e/Recipients.js file:
describe('Recipients Tab', function() { beforeEach(function () { browser.get('#/recipients'); }); it('should have no e-mail list', function () { expect(element(by.css('accordion')).isPresent()).toBe(false); }); });
I am currently doing this:
grunt e2e
My protractor configuration file:
exports.config = { seleniumAddress: 'http://localhost:4444/wd/hub', capabilities: { 'browserName': 'chrome' }, specs: ['../e2e/**/*.js'], baseUrl : 'http://localhost:8080/spr', jasmineNodeOpts: { showColors: true
Of course, these are all my tests, but while I am developing a special test, I do not want to run the entire battery of tests. I want to run this file.
How can i do this? Is there any flag or something else?
thanks
javascript angularjs gruntjs protractor end-to-end
redwulf
source share