aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index d97d88a1..32dd75ea 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -233,7 +233,7 @@ function sortedHtml(element, showNgClass) {
*/
function isCssVisible(node) {
var display = node.css('display');
- return display != 'none';
+ return !node.hasClass('ng-hide') && display != 'none';
}
function assertHidden(node) {