Skip to content

Instantly share code, notes, and snippets.

@DURK
Last active December 18, 2015 09:49
Show Gist options
  • Save DURK/5764587 to your computer and use it in GitHub Desktop.
Save DURK/5764587 to your computer and use it in GitHub Desktop.
describe('login user', function ()
{
beforeEach(function ()
{
browser().navigateTo('/');
});
it('should be on the home-page', function ()
{
expect(browser().location().url()).toBe("/");
});
});
Karma issue: hangs on browser().navigateTo()
Target-page is shown in debug-mode, but it doesn't execute the following tests.
Status remains "Chrome 27.0 (Windows) is executing"
I'm using:
Karma 0.8.5 and 0.9.2
Node 0.10.7
Angular 1.0.7 and 1.1.5
Chrome 27.0.1453.110
basePath = '../';
files = [
'script/test/e2e/**/*.js'
];
frameworks = ["ng-scenario"];
plugins = [
'karma-ng-scenario',
'karma-chrome-launcher'
];
autoWatch = true;
browsers = ['Chrome'] //, 'IE', 'Firefox', 'Safari', 'Opera'];
singleRun = false;
proxies = {
'/': 'http://localhost/'
};
logLevel = LOG_DEBUG;
junitReporter = {
outputFile: 'reports/karma/e2e-results.xml',
suite: 'e2e'
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment