/**
 * Page object for member properties.
 * @constructor
 */
MemberEditPage = function() {
  this.name = element(by.model('item.name'));
  this.saveButton = $('.btn-primary');

  this.getId = function() {
    return element(by.model('item._id')).getAttribute('value');
  };

  this.getMessage = function() {
    return element(by.binding('message')).getText();
  };
};

module.exports = new MemberEditPage();

@@ -169,16 +169,147 @@
 imary');
+%0A  this.deleteButton = $('.btn-danger');%0A%0A  this.navigate = function(memberId) %7B%0A    browser.get('#/member-edit/' + memberId);%0A  %7D;
 %0A%0A  this

add navigate, delete