Skip to content

Commit f434368

Browse files
author
markbernard
committed
Update test-core.js
Make tests click fancytree title and not list element.
1 parent ec8ca45 commit f434368

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/test-core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ test(".click() to activate a node", function() {
521521
start();
522522
}
523523
});
524-
$("#tree #ft_2").click();
524+
$("#tree #ft_2 span.fancytree-title").click();
525525
});
526526

527527

@@ -547,7 +547,7 @@ test(".click() to activate a folder (clickFolderMode 3 triggers expand)", functi
547547
start();
548548
}
549549
});
550-
$("#tree #ft_10").click();
550+
$("#tree #ft_10 span.fancytree-title").click();
551551
});
552552

553553

0 commit comments

Comments
 (0)