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 316 milliseconds.5 assertions of 5 passed, 0 failed.
Configuration and Summary : Version info Rerun Initialization : Static members Rerun Initialization : Create Fancytree Rerun 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 (5) Rerun 296 ms okay @ 13 ms okay @ 13 ms okay @ 13 ms okay @ 283 ms okay @ 283 ms Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:618: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)
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 Sub-item 1.1 Sub-item 1.2 Sub-item 1.2.1 Sub-item 1.2.2 Simple node with active children (expand) Lazy folder Lazy folder (preload) Lazy folder (expand on load)