Skip to content Skip to sidebar Skip to footer

Some Protractor Tests Are Skipped

When I launch protractor conf.js and this file needs to launch multiple spec files (like below), some of them are (randomly?) skipped. It works quite well when I run each spec sepa

Solution 1:

I don't know why this is happening, but if you need to be sure to run all your tests with the same stability than when you run them separately, then you can create a bat file (if you're using Windows) like this:

CALL protractor conf.js --specs='tests/test-1-*.js'CALL protractor conf.js --specs='tests/test-2-*.js'CALL protractor conf.js --specs='tests/test-3-*.js'

This will solve the problem until you find the root cause.

Post a Comment for "Some Protractor Tests Are Skipped"