Skip to content

Commit

Permalink
test(admin/users): add demo of e2e query
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed May 8, 2013
1 parent 5713480 commit f11c7fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/test/e2e/app/admin/users/users-edit.scenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ describe('admin edit user', function() {
input('user.firstName').enter('App');
input('user.password').enter('t');
input('password').enter('t');
element('#password').query(function(elements, done) {
expect(element('#passwordRepeat').text()).toContain(elements.text());
done();
});
expect(element('button.save:disabled').count()).toBe(0);
});
});

0 comments on commit f11c7fd

Please sign in to comment.