Exit Protractor e2e test on fail?

2019-02-17 21:45发布

问题:

Does anyone out there know if there is a config that can be added to protractor's e2e.conf.js so it exits the test once it fails? Default behaviour is that if a test fails early on, you need to wait until it finishes to fix the error.

From a workflow perspective, this is very frustrating.

Any solutions to this problem?

Thanks

回答1:

no this option is missing. you could implement jasmine-bail-fast