From 636ca9432527d4cb32b6256578423c27ca066bc2 Mon Sep 17 00:00:00 2001 From: Andrew Joslin Date: Tue, 13 May 2014 07:03:29 -0600 Subject: [PATCH] fix(e2e-tests): disable ionic-tap during e2e tests Closes #1310 --- js/utils/tap.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/utils/tap.js b/js/utils/tap.js index d7ae537e3d5..dd20968b0fc 100644 --- a/js/utils/tap.js +++ b/js/utils/tap.js @@ -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); + } });