Skip to content

Instantly share code, notes, and snippets.

@joeeames
Last active December 17, 2015 05:28
Show Gist options
  • Save joeeames/5557747 to your computer and use it in GitHub Desktop.
Save joeeames/5557747 to your computer and use it in GitHub Desktop.
karma end to end test runner configuration
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'
};
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