我试着在我的巡航控制中整合量angular器e2etesting我正在使用下面的testpec:
describe('index', function () { var ptor; it('should have a title', function () { browser.get('http://juliemr.github.io/protractor-demo/'); expect(browser.getTitle()).toEqual('Super Calculator'); }); it('Check google', function () { browser.driver.get('http://www.google.com'); }) });
当我运行这个规范虽然命令行工作正常。 但是,当我在构buildconfiguration中运行它作为nant目标它说有一个超时错误:
31mtimeout: timed out after 30000 msec waiting for spec to complete
我怎样才能让我的量angular器e2etesting布莱恩虽然cc.net?
您可以尝试设置超时间隔,例如: jasmineNodeOpts: {defaultTimeoutInterval: 500000}
更多信息在这里
尝试在配置文件中添加下面的timeoutinterval
jasmineNodeOpts: { defaultTimeoutInterval: 360000 } allScriptsTimeout: 360000,
您可以修改超时的毫秒数