this is what my karma code looks like ..
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());
});
});
the karma is stuck at
browser navigate to '/dashboard/'
i am not sure what could be wrong here.
here is my karma config
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);
};
where could i be going wrong?