本文介绍了30000毫秒后量角器超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在我的巡航控制中集成量角器e2e测试我正在使用以下测试规范:
I am tryin to integrate protractor e2e tests in my cruisecontrol I am using the following testspec:
describe('index', function () { var ptor; it('should have a title', function () { browser.get('juliemr.github.io/protractor-demo/'); expect(browser.getTitle()).toEqual('Super Calculator'); }); it('Check google', function () { browser.driver.get('www.google'); }) });当我运行此规范虽然命令行工作正常。但是,当我在构建配置中将其作为nant目标运行时,它表示存在超时错误:
When I run this spec though the command line works fine. However when I run it as a nant target in the build config it says there is a timeout error:
31mtimeout: timed out after 30000 msec waiting for spec to complete如何通过cc获得我的量角器e2e测试?
How can I get my protractor e2e tests goin though the cc ?
推荐答案您可以尝试设置超时间隔,例如: jasmineNodeOpts:{defaultTimeoutInterval:500000 } 更多信息此处
You can try to set time out interval, for example: jasmineNodeOpts: {defaultTimeoutInterval: 500000} more info here
更多推荐
30000毫秒后量角器超时
发布评论