Last active
December 18, 2015 09:49
-
-
Save DURK/5764587 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('login user', function () | |
{ | |
beforeEach(function () | |
{ | |
browser().navigateTo('/'); | |
}); | |
it('should be on the home-page', function () | |
{ | |
expect(browser().location().url()).toBe("/"); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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