AngularJS : e2e testing
by sebmade
HTML
<!doctype html>
<html lang="en">
<head>
<title>End2end Test Runner</title>
<script src="http://code.angularjs.org/1.0.0rc10/angular-scenario-1.0.0rc10.js" ng-autotest></script>
</head>
<body>
</body>
</html>
JavaScript
describe('my app', function() {
it('should display the home page', function(){
browser().navigateTo('/');
expect(element('title').text())
.toMatch('jsFiddle');
});
});