TA的每日心情 | 郁闷 2015-9-19 20:26 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
测试文件:
// spec.js
describe('angularjs homepage', function() {
it('should have a title', function() {
browser.get('http://www.angularjs.org');
expect(browser.getTitle()).toEqual('AngularJS — Superheroic JavaScript MVW Framework');
});
});
配置文件conf.js:
// conf.js
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['spec.js']
}
运行命令:protractor conf.js
控制台报错:Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL?
我是参考这个教程里面的例子运行的(https://github.com/angular/protr ... er/docs/tutorial.md),新手不知道怎么解决,求指点 |
|