Skip to content

Commit

Permalink
update(e2e): add sleep() to resolve $animate bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBurleson committed May 19, 2015
1 parent f334825 commit ea51544
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions e2e/pages/ContactUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ var ContactUser = function() {
};

this.buttons = function() {
// @Todo - remove sleep() when https://github.com/angular/protractor/issues/2154
browser.sleep(500);

return element.all(by.css('[ng-click="cp.submitContact(item)"]'));
};

Expand Down
2 changes: 0 additions & 2 deletions e2e/scenarios/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ describe('my app', function() {
var contact = new ContactUser();

beforeEach(function() {

users.loadAll();

});

it('should load a list of users', function() {
Expand Down

0 comments on commit ea51544

Please sign in to comment.