不确定这是否正确。但确实可以使用一些帮助。在下面这个问题上停留了几天。
答案 0 :(得分:1)
在量角器conf.js中尝试restartBrowserBetweenTests
/**
* If true, protractor will restart the browser between each test. Default
* value is false.
*
* CAUTION: This will cause your tests to slow down drastically.
*/
restartBrowserBetweenTests?: boolean;