I have onPrepare in my conf.js file where I enter the application. I understand that every time I run 1 or more test suites, it first does everything onPrepare does. This is great since I use onPrepare to log in to the application before running the tests.
The problem is that I do not want to log in when I launch my login-spec.js package.
I could log out first before running login-spec.js, but there should be a more elegant way to do this.
source
share