Process Data tests

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

Tests completed in 18 milliseconds.
155 assertions of 157 passed, 2 failed.

  1. Configuration Default values (18)Rerun1 ms
    1. Passed - autocompleteOff@ 0 ms
    2. Passed - url@ 1 ms
    3. Passed - data@ 1 ms
    4. Passed - dataType@ 1 ms
    5. Passed - placeholder@ 1 ms
    6. Passed - listLocation@ 1 ms
    7. Passed - xmlElementName@ 1 ms
    8. Passed - highlightPhrase@ 1 ms
    9. Passed - theme@ 1 ms
    10. Passed - cssClasses@ 1 ms
    11. Passed - minCharNumber@ 1 ms
    12. Passed - list maxNumberOfElements@ 1 ms
    13. Passed - list sort enabled@ 1 ms
    14. Passed - list match enabled@ 1 ms
    15. Passed - list showAnimation type@ 1 ms
    16. Passed - list showAnimation time@ 1 ms
    17. Passed - list hideAnimation type@ 1 ms
    18. Passed - list hideAnimation time@ 1 ms
  2. Configuration simple (10)Rerun1 ms
    1. Passed - autocompleteOff@ 1 ms
    2. Passed - url@ 1 ms
    3. Passed - placeholder@ 1 ms
    4. Passed - highlightPhrase@ 1 ms
    5. Passed - getValue@ 1 ms
    6. Passed - list maxNumberOfElements@ 1 ms
    7. Passed - list sort enabled@ 1 ms
    8. Passed - list sort method@ 1 ms
    9. Passed - list match enabled@ 1 ms
    10. Passed - list match method@ 1 ms
  3. Configuration mixed (11)Rerun0 ms
    1. Passed - url@ 0 ms
    2. Passed - getValue@ 0 ms
    3. Passed - theme@ 0 ms
    4. Passed - cssClasses@ 0 ms
    5. Passed - list sort enabled@ 0 ms
    6. Passed - list match method@ 0 ms
    7. Passed - autocompleteOff@ 0 ms
    8. Passed - placeholder@ 0 ms
    9. Passed - highlightPhrase@ 0 ms
    10. Passed - list maxNumberOfElements@ 0 ms
    11. Passed - list match enabled@ 0 ms
  4. Parameter not in configuration (1)Rerun0 ms
    1. Passed - configuration parameter not defined@ 0 ms
  5. Configuration required fields (2)Rerun0 ms
    1. Passed - url equals list-required@ 0 ms
    2. Passed - data equals list-required@ 0 ms
  6. Data field (1)Rerun0 ms
    1. Passed - data@ 0 ms
  7. String getValue (1)Rerun0 ms
    1. Passed - getValue@ 0 ms
  8. Ajax Settings - string (1)Rerun0 ms
    1. Passed - ajaxSettings@ 0 ms
  9. Ajax Settings - function (2)Rerun0 ms
    1. Passed - ajaxSettings@ 0 ms
    2. Passed - ajaxSettings url@ 0 ms
  10. Print wrong configuration property (1)Rerun0 ms
    1. Passes@ 0 ms
  11. Categories assigned (1)Rerun1 ms
    1. Passed - categoriesAssigned@ 1 ms
  12. Categories parameters (5)Rerun0 ms
    1. Passed - listLocation@ 0 ms
    2. Passed - maxNumberOfElements@ 0 ms
    3. Passed - maxNumberOfElements@ 0 ms
    4. Passed - listLocation@ 0 ms
    5. Passed - maxNumberOfElements - default@ 0 ms
  13. Categories not assigned (1)Rerun0 ms
    1. Passed - categoriesAssigned@ 0 ms
  14. Sort - sorting simple list (5)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
    4. Passed - equal third@ 0 ms
    5. Passed - equal fourth@ 0 ms
  15. Sort - sorting - data with numbers (5)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
    4. Passed - equal third@ 0 ms
    5. Passed - equal fourth@ 0 ms
  16. Sort - reverse simple list (5)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
    4. Passed - equal third@ 0 ms
    5. Passed - equal fourth@ 0 ms
  17. MaxSize - simple list (3)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
  18. MaxSize & Sort - simple list (3)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
  19. match - simple list (3)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
  20. match - simple list (2)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
  21. match - simple list - suggestions should start with phrase (3)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
  22. Sort - Object (5)Rerun1 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
    4. Passed - equal third@ 0 ms
    5. Passed - equal fourth@ 0 ms
  23. Sort - Json (5)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
    4. Passed - equal third@ 0 ms
    5. Passed - equal fourth@ 0 ms
  24. Sort & Max size - Json (4)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
    4. Passed - equal third@ 0 ms
  25. match - Json (3)Rerun0 ms
    1. Passed - list size@ 0 ms
    2. Passed - equal first@ 0 ms
    3. Passed - equal second@ 0 ms
  26. match & Sorting- Json (5)Rerun1 ms
    1. Passed - list size@ 1 ms
    2. Passed - first name equal@ 1 ms
    3. Passed - first power equal@ 1 ms
    4. Passed - second name equal@ 1 ms
    5. Passed - second power equal@ 1 ms
  27. Template - module (5)Rerun0 ms
    1. Constructor found@ 0 ms
    2. Constructor@ 0 ms
    3. created object@ 0 ms
    4. Template has method build@ 0 ms
    5. css class@ 0 ms
  28. Template - default template (1, 2, 3)Rerun1 ms
    1. Build is function@ 0 ms
    2. Build returns value@ 0 ms
    3. Build equals def value@ 0 ms
      Expected:
      true
      Result:
      false
      Diff:
      true false 
      Source:
          at Object.<anonymous> (http://167.172.147.6/theprint-erp/node_modules/easy-autocomplete/test/template.js:34:9)
  29. Template - description template - field string (3)Rerun0 ms
    1. Build is function@ 0 ms
    2. Build returns value@ 0 ms
    3. css class@ 0 ms
  30. Template - description template - field function (3)Rerun0 ms
    1. Build is function@ 0 ms
    2. Build returns value@ 0 ms
    3. css class@ 0 ms
  31. Template - iconLeft template - field string (3)Rerun0 ms
    1. Build is function@ 0 ms
    2. Build returns value@ 0 ms
    3. css class@ 0 ms
  32. Template - iconLeft template - field function (3)Rerun0 ms
    1. Build is function@ 0 ms
    2. Build returns value@ 0 ms
    3. css class@ 0 ms
  33. Template - iconRight template - field string (3)Rerun0 ms
    1. Build is function@ 0 ms
    2. Build returns value@ 0 ms
    3. css class@ 0 ms
  34. Template - iconRight template - field function (3)Rerun0 ms
    1. Build is function@ 0 ms
    2. Build returns value@ 0 ms
    3. css class@ 0 ms
  35. Template - links template - field string (3)Rerun0 ms
    1. Build is function@ 0 ms
    2. Build returns value@ 0 ms
    3. css class@ 0 ms
  36. Template - links template - field function (3)Rerun0 ms
    1. Build is function@ 0 ms
    2. Build returns value@ 0 ms
    3. css class@ 0 ms
  37. Template - custom template (1, 2, 3)Rerun1 ms
    1. Build is function@ 0 ms
    2. Build equals def value@ 1 ms
      Expected:
      true
      Result:
      false
      Diff:
      true false 
      Source:
          at Object.<anonymous> (http://167.172.147.6/theprint-erp/node_modules/easy-autocomplete/test/template.js:201:9)
    3. css class@ 1 ms
  38. Template - cssClass description (2)Rerun0 ms
    1. Build is function@ 0 ms
    2. Build equals def value@ 0 ms
  39. ListBuilder (8)Rerun0 ms
    1. Constructor found@ 0 ms
    2. Constructor@ 0 ms
    3. created object@ 0 ms
    4. ListBuilderService has method init@ 0 ms
    5. ListBuilderService has method updateCategories@ 0 ms
    6. ListBuilderService has method convertXml@ 0 ms
    7. ListBuilderService has method processData@ 0 ms
    8. ListBuilderService has method checkIfDataExists@ 0 ms
  40. ListBuilder - init (3)Rerun1 ms
    1. ListBuilder - size@ 1 ms
    2. ListBuilder - data match@ 1 ms
    3. ListBuilder - getValue function match@ 1 ms
  41. ListBuilder - checkIfDataExists - empty listBuilders (1)Rerun0 ms
    1. checkIfDataExists@ 0 ms
  42. ListBuilder - checkIfDataExists - listBuilders.data not array (1)Rerun0 ms
    1. checkIfDataExists@ 0 ms
  43. ListBuilder - checkIfDataExists - listBuilders.data array (1)Rerun0 ms
    1. checkIfDataExists@ 0 ms