无论何时运行多个e2e测试用例,我都会从病房的第二个规范中获得错误,第一个规范正在成功运行。什么问题?
错误:
Stack:
TimeoutError: Wait timed out after 3002ms
at WebDriverError (C:\Users\veeranagouda.patil\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\error.js:27:5)
at TimeoutError (C:\Users\veeranagouda.patil\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\error.js:238:5)
at C:\Users\veeranagouda.patil\AppData\Roaming\npm\node_modules\protractor\node_mod
ules\selenium-webdriver\lib\promise.js:2107:17
答案 0 :(得分:0)
[以下是对它的完整描述。] [1]
https://stackoverflow.com/questions/46581036/failed-wait-timed-out-after-30009ms/46587036?noredirect=1#comment80155047_46587036
答案 1 :(得分:0)
你可以尝试在第一个规范之后给出browser.sleep(5000)并尝试