Fancytree unit tests - Core

QUnit 1.23.1; Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

Running:
Initialization: Create Fancytree - init

  1. Configuration and Summary: Version info (5)Rerun3 ms
    1. Fancytree v@VERSION, buildType='development'@ 2 ms
    2. jQuery UI 1.12.1 (uiBackCompat=undefined)@ 2 ms
    3. jQuery 3.2.1@ 2 ms
    4. Browser: Netscape, 5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com), -?@ 3 ms
    5. Cumulated test time: 0 milliseconds@ 3 ms

    Source: at TOOLS.createInfoSection (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-tools.js:64:8) at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:58:7) at mightThrow (https://dclgapps.communities.gov.uk/scriptLib/fancytree/lib/jquery.js:3583:29) at process (https://dclgapps.communities.gov.uk/scriptLib/fancytree/lib/jquery.js:3651:12)

  2. Initialization: Static members (5)Rerun2 ms
    1. ui.fancytree.debug function is defined@ 1 ms
    2. no tree instance exists@ 1 ms
    3. getTree() no tree instance exists@ 2 ms
    4. getTree(0) no tree instance exists@ 2 ms
    5. getTree(0) no tree instance exists@ 2 ms

    Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:69:7) at mightThrow (https://dclgapps.communities.gov.uk/scriptLib/fancytree/lib/jquery.js:3583:29) at process (https://dclgapps.communities.gov.uk/scriptLib/fancytree/lib/jquery.js:3651:12)

  3. Initialization: Create Fancytree (13)Rerun15 ms
    1. running synchronously@ 5 ms
    2. :ui-fancytree widget selector works@ 13 ms
    3. widget is attached to div#tree@ 13 ms
    4. widget.tree is defined@ 13 ms
    5. $().fancytree('getTree')@ 13 ms
    6. $().fancytree('getActiveNode')@ 13 ms
    7. getTree() exists@ 14 ms
    8. getTree(0) exists@ 14 ms
    9. getTree('#tree') exists@ 14 ms
    10. getTree(1) does not exist@ 14 ms
    11. getTree(#foobar) does not exist@ 14 ms
    12. collapsed children are NOT rendered@ 14 ms
    13. collapsed nodes are NOT rendered@ 15 ms

    Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:83:7) at mightThrow (https://dclgapps.communities.gov.uk/scriptLib/fancytree/lib/jquery.js:3583:29) at process (https://dclgapps.communities.gov.uk/scriptLib/fancytree/lib/jquery.js:3651:12)

  4. Initialization: Create Fancytree - initRerun
    1. receive `create` callback@ 2 ms
    2. running synchronously@ 2 ms
    3. event data is empty@ 2 ms
    4. `this` is div#tree@ 2 ms
    5. div#tree contains ul.fancytree-container@ 2 ms
    6. widget is attached to div#tree@ 2 ms
    7. `tree.rootNode` is empty@ 2 ms
    8. div#tree has no widget style yet@ 2 ms
    9. receive `init` callback@ 4 ms
    10. `init` status is true@ 4 ms
    11. running synchronously@ 4 ms
    12. `data.tree` is the tree object@ 4 ms
    13. data.options.contains widget options@ 4 ms
    14. `this` is div#tree@ 4 ms
    15. tree.rootNode has all child nodes@ 4 ms
    16. tooltip set@ 4 ms
    17. raw html allowed@ 4 ms
    18. using <span> tag@ 4 ms
    19. custom class added@ 4 ms
  5. Initialization: Init node status from sourceRerun
    1. Initialization: Init node with custom dataRerun
      1. Initialization: Custom icons (node.icon)Rerun
        1. Initialization: Custom icons (options.icon)Rerun
          1. API: FancytreeNode class methodsRerun
            1. API: Fancytree class methodsRerun
              1. Asynchronous API: trigger async expandRerun
                1. Asynchronous API: makeVisible not rendered deep nodeRerun
                  1. events: .click() to expand a folderRerun
                    1. events: .click() to activate a nodeRerun
                      1. events: .click() to activate a folder (clickFolderMode 3 triggers expand)Rerun
                        1. events: .click() to select a nodeRerun
                          1. events: 'modifyChild' eventRerun
                            1. generateFormElements(): multi selectRerun
                              1. generateFormElements(): selectMode: 3Rerun
                                1. lazy loading: Using ajax options for `source`; .click() expands a lazy folderRerun
                                  1. lazy loading: Using $.ajax promise for `source`; .click() expands a lazy folderRerun
                                    1. Selection mode 3: load behaviorRerun
                                      1. add children & patches: add childrenRerun
                                        1. add children & patches: apply patchRerun
                                          1. keypath: loadKeyPath (allready loaded)Rerun
                                            1. keypath: loadKeyPath (lazy nodes)Rerun
                                              1. keypath: loadKeyPath (multiple lazy nodes with expand)Rerun
                                                test markup, will be hidden