这就是我的业力代码的样子..
describe('E2E: Testing Controllers', function() {
beforeEach(function() {
browser().navigateTo('/dashboard/');
});
it('should have a working home page controller that applies the leads to scope', function() {
browser().navigateTo('#/');
expect(browser().location().path()).toBe("/");
expect(element('.shoutbox').html());
});
});
业力被困在
browser navigate to '/dashboard/'
我不确定这里可能有什么问题。
这是我的业力配置
var sharedConfig = require('./karma.shared.conf');
module.exports = function(config) {
var conf = sharedConfig();
conf.files = conf.files.concat([
//test files
'./tests/e2e/**/*.js'
]);
conf.proxies = {
'/': 'http://localhost:8080/'
};
conf.urlRoot = '/__e2e/';
conf.frameworks = ['ng-scenario'];
config.set(conf);
};
我哪里出错了?