Skip to content

Commit

Permalink
step-15a - wire up the 'deliver to' info panel (test)
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Nov 27, 2012
1 parent 24354e7 commit d3ad2c2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/e2e/scenarios.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,22 @@ describe('foodme', function() {
expect(element('.fm-restaurant-list h4').text()).toMatch('39 restaurants found');
});
});


describe('fmDeliverTo', function() {

beforeEach(function() {
browser().navigateTo('/index.html#/customer');

// fill in the customer, so that we navigate to restaurants list
input('customerName').enter('John');
input('customerAddress').enter('Some city');
element(':button.btn-primary').click();
});


it('should show deliver to address', function() {
expect(element('.breadcrumb').text()).toMatch('Some city');
});
});
});

0 comments on commit d3ad2c2

Please sign in to comment.