Last active
December 17, 2015 05:28
-
-
Save joeeames/5557747 to your computer and use it in GitHub Desktop.
karma end to end test runner configuration
This file contains 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 = [ | |
ANGULAR_SCENARIO, | |
ANGULAR_SCENARIO_ADAPTER, | |
'scenarios.js' | |
]; | |
autoWatch = false; | |
browsers = ['Chrome']; | |
singleRun = true; | |
urlRoot = '/__karma/'; | |
proxies = { | |
'/': 'http://localhost:9000/' | |
}; | |
junitReporter = { | |
outputFile: 'test_out/e2e.xml', | |
suite: 'e2e' | |
}; |
This file contains 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('my app', function() { | |
beforeEach(function() { | |
browser().navigateTo('/dataconnection/existingsource-new'); | |
}); | |
it('should have the correct url', function() { | |
expect(browser().location().url()).toBe("/dataconnection/existingsource-new"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment