Skip to content

Commit

Permalink
fix(e2e-tests): disable ionic-tap during e2e tests
Browse files Browse the repository at this point in the history
Closes #1310
  • Loading branch information
ajoslin committed May 13, 2014
1 parent 5ad395d commit 636ca94
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/utils/tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,5 +541,8 @@ function tapTargetElement(ele) {
}

ionic.DomUtil.ready(function(){
ionic.tap.register(document);
//do nothing for e2e tests
if (!angular.scenario) {
ionic.tap.register(document);
}
});

0 comments on commit 636ca94

Please sign in to comment.