I'm writing protractor e2e tests and use browser.pause()
to enter debugger. I appreciate the interactive mode which seems helpful when developing a new test.
However, when I spend too much time in the debuger, the test gets interrupted as timeout is exceeded:
Error: timeout of 240000ms exceeded
I can easily fix that by increasing mochaOpts.timeout
in my protractor configuration, but I don't like changing it back and forth depending if I'm debugging or not.
Is there a better way?