Protractor timeout after 30,000ms
I am trying to integrate protractor e2e tests in my cruisecontrol. I am using the following tests:
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');
})
});
When I run this spec though command line works fine. However, when I run it as the main target in the build config, it says there is a timeout error:
31mtimeout: timed out after 30000 msec waiting for spec to complete
How can I get tests of my e2e goin protractor although cc.net?
+3
source to share
2 answers