> nuxeo-elements@3.0.29-SNAPSHOT test:core > karma start --package core --coverage START: config properties without fallback values ✔ string property ✔ boolean property ✔ number property ✔ bigint property ✔ non-existent property properties with fallback values ✔ string property ✔ boolean property ✔ number property ✔ bigint property ✔ non-existent string property ✔ non-existent boolean property ✔ non-existent number property ✔ non-existent bigint property ✔ non-existent number property with 0 fallback boolean properties with default values ✔ non-existent false boolean property ✔ non-existent true boolean property ✔ existent false boolean property ✔ existent true boolean property ✔ existent false boolean property with true fallback ✔ existent property with false string ✔ existent property with true string ✔ existent string with false string ✔ existent string with true string nuxeo-audit-page-provider Fetch Document History ✔ Should use Rest call when document identifier is provided ✔ Should fire a success event using Rest call when document identifier is provided ✔ Should fire an event when an error occurs in the Rest call ✔ Should return an error when occurs in the Rest call ✔ Should use Rest call with sorting when document identifier is provided Fetch Audit ✔ Should use Operation call when document identifier is not provided ✔ Should fire a success event using Operation call when document identifier is not provided ✔ Should fire an event when an error occurs in the Operation call ✔ Should return an error when occurs in the Operation call ✔ Should use Operation call with sorting when document identifier is not provided nuxeo-connection when login request succeed ✔ should run the next when login request fail ✔ should not run the next when using multiple connections ✔ first connection should succeed ✔ similar connections should not issue requests nuxeo-document when retrieving documents ✔ should retrieve something valid ✔ shouldn't retrieve something invalid ✔ should tell it is loading when generating the path ✔ should build a path from an id ✔ should build a path from a path when setting document view or download action ✔ should set view and download data nuxeo-notify-behavior When notify is called ✔ Should fire "notify" event ✔ Should fire "notify" event from fallback target when element is not connected nuxeo-operation when executing an operation ✔ should retrieve something valid ✔ should tell it is loading ✔ shouldn't retrieve something invalid when page provider is given as input ✔ it should send provider as parameters when a view is given as input ✔ without select all active it should send the view/provider as parameters ✔ with select all active response should be the bulk status update ✔ we can abort bulk actions when unselect some feature is enable ✔ excludedDocs parameters is sent in the payload for the nuxeo-operation nuxeo-page-provider when page provider has a false boolean param ✔ it should be sent to the server when page provider returns an error response ✔ it should throw an error Parameters Transformation ✔ Should include query when it is defined and not empty ✔ Should not include query when it has an empty string ✔ Should not include query when it is not provided as a parameter ✔ Should not include sort info when sort parameter is empty ✔ Should include sort info when sort parameter is not empty ✔ Should include quick filters info when they are provided ✔ Should include quick filters info when there is no active filter ✔ Should convert parameters to string when they are from a different type ✔ Should convert parameters of type array to queryParams ✔ Should include the ID when a parameter is an object with "entity-type" nuxeo-resource when retrieving resources ✔ should retrieve something valid ✔ shouldn't retrieve something invalid nuxeo-task-page-provider REST Calls Responses and Events ✔ Should fire "error" event when server returns fetch error ✔ Should throw an error when server returns fetch error ✔ Should fire "update" event when server returns non erroneous response Parameters Transformation ✔ Should not include parameters' entries when they are null or undefined ✔ Should contain mandatory parameters when no parameters are passed as argument ✔ Should convert non-default parameters to string when they have a different type ✔ Should include the ID when a parameter is an object with "entity-type" utils "createNestedObject" function Parameters Validation ✔ Should throw an exception when no object or path are provided ✔ Should throw an exception when no path is provided ✔ Should throw an exception when a type different than object is provided as parameter Creation Validation ✔ Should return same object when an empty array is provided ✔ Should create object entries when an object and an array containing path levels are provided ✔ Should replace existing keys when they don't represent and object Finished in 1.139 secs / 0.918 secs @ 12:42:29 GMT+0530 (India Standard Time) SUMMARY: ✔ 80 tests completed TOTAL: 80 SUCCESS =============================== Coverage summary =============================== Statements : 77% ( 492/639 ) Branches : 61.26% ( 272/444 ) Functions : 80.53% ( 153/190 ) Lines : 77.58% ( 481/620 ) ================================================================================ > nuxeo-elements@3.0.29-SNAPSHOT test:ui > karma start --package ui --coverage START: nuxeo-actions-menu ✔ menu for 4 with 3 elements ✔ menu for 4 with 5 elements ✔ menu of 4 with 4 elements (no dropdown button should be visible) ✔ menu of 4 with varying number of elements ✔ menu with nuxeo-slotted content ✔ menu with unresolved nuxeo-slotted content compatibility with nuxeo-slots and native HTML slots ✔ menu with nuxeo-slot in a native slot nuxeo-checkbox-aggregation Non-collapsible ✔ Should display no results message when buckets are empty ✔ Should display a label when "label" is set ✔ Should display the title of the document when "data" is set ✔ Should sort checkboxes alphabetically when "sort-by-label" is set Collapsible ✔ Should display a button when "collapsible" is set ✔ Should display a label when "label" is set ✔ Should display an arrow when "collapsible" is set ✔ Should display no results message when buckets are empty ✔ Should hide checkboxes when "collapsible" is set ✔ Should display 8 checkboxes when "collapsible" and "opened" are set ✔ Should display checkboxes when "collapsible" is set and it is tapped ✔ Should display 4 checkboxes when "visibleItems" is set to 4 ✔ Should show 9 checkboxes when "show all" button is tapped ✔ Should hide 1 checkbox when "show all" button is tapped again nuxeo-create-group create group ✔ create a group with one user ✔ create an group with "Create another" button ✔ try to create a group with no name nuxeo-data-table table results ✔ simpleTable table selection ✔ single selection ✔ multiple selection ✔ single selection helpers ✔ multiple selection helpers select all ✔ select all items ✔ select all disabled ✔ select all clear after sorting ✔ select all clear after filtering ✔ unselect an item after selecting all paginated select all ✔ scroll to item Accessibility ✔ select all clear after sorting Finished in 4.175 secs / 2.51 secs @ 12:42:49 GMT+0530 (India Standard Time) SUMMARY: ✔ 36 tests completed TOTAL: 36 SUCCESS =============================== Coverage summary =============================== Statements : 25.25% ( 2018/7992 ) Branches : 13.78% ( 698/5064 ) Functions : 31.84% ( 627/1969 ) Lines : 25.33% ( 1969/7773 ) ================================================================================ > nuxeo-elements@3.0.29-SNAPSHOT test:dataviz > karma start --package dataviz --coverage START: nuxeo-audit-data ✔ date-terms ✔ grouped-by ✔ multiple-groups ✔ metrics ✔ ranges ✔ date-intervals ✔ where-terms nuxeo-repository-data ✔ ecm-terms ✔ ecm-multiple-terms ✔ grouped-by ✔ multiple-groups ✔ metrics ✔ ranges ✔ date-intervals nuxeo-search-data ✔ date-terms ✔ page-provider-terms ✔ single-value metrics ✔ object-value metrics ✔ grouped-by ✔ multiple-groups ✔ ranges ✔ date-intervals nuxeo-workflow-data ✔ workflow-terms ✔ task-terms ✔ metrics ✔ grouped-by ✔ multiple-groups ✔ ranges ✔ date-intervals Finished in 1.768 secs / 0.344 secs @ 12:42:59 GMT+0530 (India Standard Time) SUMMARY: ✔ 29 tests completed TOTAL: 29 SUCCESS =============================== Coverage summary =============================== Statements : 66.14% ( 211/319 ) Branches : 51.4% ( 110/214 ) Functions : 55.56% ( 60/108 ) Lines : 67.64% ( 209/309 ) ================================================================================