30000毫秒后量角器超时 [英] protractor timeout after 30000msec

查看:300
本文介绍了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('http://juliemr.github.io/protractor-demo/');

        expect(browser.getTitle()).toEqual('Super Calculator');
    });

    it('Check google', function () {
        browser.driver.get('http://www.google.com');
    })
});

当我运行此规范虽然命令行工作正常。但是,当我在构建配置中将其作为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.net获得我的量角器e2e测试?

How can I get my protractor e2e tests goin though the cc.net ?

推荐答案

您可以尝试设置超时间隔,例如: jasmineNodeOpts:{defaultTimeoutInterval:500000 } 更多信息此处

You can try to set time out interval, for example: jasmineNodeOpts: {defaultTimeoutInterval: 500000} more info here

这篇关于30000毫秒后量角器超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆