3 /* http://docs.angularjs.org/guide/dev_guide.e2e-testing */
5 describe('my app', function() {
7 beforeEach(function() {
8 browser().navigateTo('/lang/en/drzb2013.html');
12 it('should automatically redirect to /registration/ when location hash/fragment is empty', function() {
13 expect(browser().location().url()).toBe("/registration/");
17 describe('registration', function() {
19 beforeEach(function() {
20 browser().navigateTo('#/registration');
24 it('should render registration when user navigates to /registration', function() {
25 expect(element('[ng-view]').text()).
26 toMatch(/Registration/);
32 describe('list', function() {
34 beforeEach(function() {
35 browser().navigateTo('#/list');
39 it('should render list when user navigates to /list', function() {
40 expect(element('[ng-view] div:first').text()).