Fancytree unit tests

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

Tests completed in 57 milliseconds.
4 assertions of 6 passed, 2 failed.

  1. Configuration and Summary: Version infoRerun
    1. Initialization: Static membersRerun
      1. Initialization: Create FancytreeRerun
        1. Initialization: Create Fancytree - initRerun
          1. 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 select (2, 4, 6)Rerun42 ms
                                      1. result <div> not yet created@ 11 ms
                                      2. result <div> created@ 11 ms
                                      3. result is hidden@ 27 ms
                                      4. initial result is empty@ 27 ms
                                      5. Died on test #5 at HTMLDocument.<anonymous> (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:811:7) at l (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:16996) at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:17783) at Function.ready (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:12504) at HTMLDocument.A (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:9909): $(...).uniqueId is not a function@ 41 ms
                                        Source:
                                        TypeError: $(...).uniqueId is not a function
                                            at Fancytree.nodeSetFocus (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:4060:30)
                                            at Fancytree.nodeSetActive (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:3842:10)
                                            at Fancytree._callHook (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:2304:13)
                                            at FancytreeNode.setActive (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:1807:20)
                                            at Object.<anonymous> (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:832:24)
                                      6. Expected 22 assertions, but 5 were run@ 42 ms
                                        Source:
                                            at HTMLDocument.<anonymous> (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:811:7)
                                            at l (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:16996)
                                            at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:17783)
                                            at Function.ready (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:12504)
                                            at HTMLDocument.A (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:9909)

                                      Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:811:7) at l (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:16996) at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:17783) at Function.ready (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:12504) at HTMLDocument.A (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:9909)

                                    2. 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