30000毫秒后量角器超时

编程入门 行业动态 更新时间:2024-10-10 16:22:49
本文介绍了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毫秒后量角器超时

本文发布于:2023-05-31 13:58:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/392988.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:量角器

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!