Skip to content

Commit

Permalink
add catch for missing toast message
Browse files Browse the repository at this point in the history
  • Loading branch information
w33ble committed Nov 24, 2015
1 parent b2bfb51 commit 1eb071e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/support/pages/HeaderPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ define(function (require) {
common.debug('toast message clear');
return messages;
}
})
.catch(function () {
common.debug('toast message not found');
return;
});
});
}
Expand Down

0 comments on commit 1eb071e

Please sign in to comment.