Hide passed tests Check for Globals No try-catch Module: < All Modules > add children & patches API Asynchronous API Configuration and Summary events generateFormElements() Initialization keypath lazy loading Selection mode 3
QUnit 1.23.1; Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Tests completed in 29 milliseconds.13 assertions of 13 passed, 0 failed.
Configuration and Summary : Version info Rerun Initialization : Static members Rerun Initialization : Create Fancytree (13) Rerun 13 ms running synchronously @ 6 ms :ui-fancytree widget selector works @ 12 ms widget is attached to div#tree @ 12 ms widget.tree is defined @ 12 ms $().fancytree('getTree') @ 12 ms $().fancytree('getActiveNode') @ 12 ms getTree() exists @ 12 ms getTree(0) exists @ 13 ms getTree('#tree') exists @ 13 ms getTree(1) does not exist @ 13 ms getTree(#foobar) does not exist @ 13 ms collapsed children are NOT rendered @ 13 ms collapsed nodes are NOT rendered @ 13 ms Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:83:7)
at i (https://code.jquery.com/jquery-2.2.0.min.js:2:27065)
at Object.fireWith [as resolveWith] (https://code.jquery.com/jquery-2.2.0.min.js:2:27828)
at Function.ready (https://code.jquery.com/jquery-2.2.0.min.js:2:29621)
at HTMLDocument.J (https://code.jquery.com/jquery-2.2.0.min.js:2:29806)
Initialization : Create Fancytree - init Rerun Initialization : Init node status from source Rerun Initialization : Init node with custom data Rerun Initialization : Custom icons (node.icon) Rerun Initialization : Custom icons (options.icon) Rerun API : FancytreeNode class methods Rerun API : Fancytree class methods Rerun Asynchronous API : trigger async expand Rerun Asynchronous API : makeVisible not rendered deep node Rerun events : .click() to expand a folder Rerun events : .click() to activate a node Rerun events : .click() to activate a folder (clickFolderMode 3 triggers expand) Rerun events : .click() to select a node Rerun events : 'modifyChild' event Rerun generateFormElements() : multi select Rerun generateFormElements() : selectMode: 3 Rerun lazy loading : Using ajax options for `source`; .click() expands a lazy folder Rerun lazy loading : Using $.ajax promise for `source`; .click() expands a lazy folder Rerun Selection mode 3 : load behavior Rerun add children & patches : add children Rerun add children & patches : apply patch Rerun keypath : loadKeyPath (allready loaded) Rerun keypath : loadKeyPath (lazy nodes) Rerun keypath : loadKeyPath (multiple lazy nodes with expand) Rerun
test markup, will be hidden
simple node (no explicit id, so a default key is generated) item1 with key and tooltip item2 with html inside a span tag this nodes uses 'nolink', so no <a> tag is generated using href Folder 1 Simple node with active children (expand) Lazy folder Lazy folder (preload) Lazy folder (expand on load)