Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling and custom component for DataGrid panels #3033

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Styling and custom component for DataGrid panels

376ff70
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Styling and custom component for DataGrid panels #3033

Styling and custom component for DataGrid panels
376ff70
Select commit
Loading
Failed to load commit list.
GitHub Actions / Tests succeeded Jan 3, 2025 in 0s

211 passed, 0 failed and 1 skipped

Tests passed successfully

Report Passed Failed Skipped Time
admin/admin-rte/junit.xml 7βœ… 11s
admin/blocks-admin/junit.xml 3βœ… 12s
admin/cms-admin/junit.xml 16βœ… 1βšͺ 9s
admin/cms-admin/node_modules/@comet/admin-rte/junit.xml 7βœ… 11s
admin/cms-admin/node_modules/@comet/blocks-admin/junit.xml 3βœ… 12s
api/blocks-api/junit.xml 8βœ… 6s
api/cms-api/junit.xml 152βœ… 82s
api/cms-api/node_modules/@comet/blocks-api/junit.xml 8βœ… 6s
site/cms-site/junit.xml 7βœ… 7s

βœ…Β admin/admin-rte/junit.xml

7 tests were completed in 11s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
htmlToState 1βœ… 10s
stateToHtml 6βœ… 10s

βœ…Β htmlToState

htmlToState should convert html to state to html with the html staying the same
  βœ… htmlToState should convert html to state to html with the html staying the same

βœ…Β stateToHtml

stateToHtml should convert the rte editor state with styling into html while keeping the format via tags - formats part 1
  βœ… stateToHtml should convert the rte editor state with styling into html while keeping the format via tags - formats part 1
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 2 (unordered list)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 2 (unordered list)
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 3 (ordered list)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 3 (ordered list)
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 4 (links)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 4 (links)
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 5 (custom styles)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 5 (custom styles)
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 6 (custom block styles)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 6 (custom block styles)

βœ…Β admin/blocks-admin/junit.xml

3 tests were completed in 12s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
composeBlocks 2βœ… 11s
createCompositeSetting 1βœ… 8s

βœ…Β composeBlocks

composeBlocks composes values of 1 BlockInterface and 1 settings - flattened
  βœ… composeBlocks composes values of 1 BlockInterface and 1 settings - flattened
composeBlocks composes values of 1 BlockInterface and 1 setting with value undefined
  βœ… composeBlocks composes values of 1 BlockInterface and 1 setting with value undefined

βœ…Β createCompositeSetting

createCompositeSetting should work with an array value
  βœ… createCompositeSetting should work with an array value

βœ…Β admin/cms-admin/junit.xml

17 tests were completed in 9s with 16 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
createImageLinkBlock 1βšͺ 230ms
TreeMapUtils 8βœ… 8s
TreeMapUtils 3βœ… 8s
TreeMapUtils 5βœ… 8s

βœ…Β createImageLinkBlock

createImageLinkBlock should allow overriding the name
  βšͺ createImageLinkBlock should allow overriding the name

βœ…Β TreeMapUtils

TreeMapUtils subTreeFromNodes  - empty
  βœ… TreeMapUtils subTreeFromNodes  - empty
TreeMapUtils subTreeFromNodes  - first level
  βœ… TreeMapUtils subTreeFromNodes  - first level
TreeMapUtils subTreeFromNodes - nested levels
  βœ… TreeMapUtils subTreeFromNodes - nested levels
areAllSubTreesFullSelected nothing selected
  βœ… areAllSubTreesFullSelected nothing selected
areAllSubTreesFullSelected everything selected
  βœ… areAllSubTreesFullSelected everything selected
areAllSubTreesFullSelected sub tree selected
  βœ… areAllSubTreesFullSelected sub tree selected
areAllSubTreesFullSelected nested leaf selected
  βœ… areAllSubTreesFullSelected nested leaf selected
areAllSubTreesFullSelected nested not selected
  βœ… areAllSubTreesFullSelected nested not selected

βœ…Β TreeMapUtils

TreeMapUtils subTreeFromNodes  - empty
  βœ… TreeMapUtils subTreeFromNodes  - empty
TreeMapUtils subTreeFromNodes  - first level
  βœ… TreeMapUtils subTreeFromNodes  - first level
TreeMapUtils subTreeFromNodes - nested levels
  βœ… TreeMapUtils subTreeFromNodes - nested levels

βœ…Β TreeMapUtils

TreeMapUtils subTreeFromNodes  - empty
  βœ… TreeMapUtils subTreeFromNodes  - empty
TreeMapUtils subTreeFromNodes  - first level
  βœ… TreeMapUtils subTreeFromNodes  - first level
TreeMapUtils subTreeFromNodes - nested levels
  βœ… TreeMapUtils subTreeFromNodes - nested levels
TreeMap traverse pre order
  βœ… TreeMap traverse pre order
TreeMap traverse post order
  βœ… TreeMap traverse post order

βœ…Β admin/cms-admin/node_modules/@comet/admin-rte/junit.xml

7 tests were completed in 11s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
htmlToState 1βœ… 10s
stateToHtml 6βœ… 10s

βœ…Β htmlToState

htmlToState should convert html to state to html with the html staying the same
  βœ… htmlToState should convert html to state to html with the html staying the same

βœ…Β stateToHtml

stateToHtml should convert the rte editor state with styling into html while keeping the format via tags - formats part 1
  βœ… stateToHtml should convert the rte editor state with styling into html while keeping the format via tags - formats part 1
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 2 (unordered list)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 2 (unordered list)
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 3 (ordered list)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 3 (ordered list)
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 4 (links)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 4 (links)
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 5 (custom styles)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 5 (custom styles)
stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 6 (custom block styles)
  βœ… stateToHtml should convert the rte editor state with formating into html while keeping the format via tags - formats part 6 (custom block styles)

βœ…Β admin/cms-admin/node_modules/@comet/blocks-admin/junit.xml

3 tests were completed in 12s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
composeBlocks 2βœ… 11s
createCompositeSetting 1βœ… 8s

βœ…Β composeBlocks

composeBlocks composes values of 1 BlockInterface and 1 settings - flattened
  βœ… composeBlocks composes values of 1 BlockInterface and 1 settings - flattened
composeBlocks composes values of 1 BlockInterface and 1 setting with value undefined
  βœ… composeBlocks composes values of 1 BlockInterface and 1 setting with value undefined

βœ…Β createCompositeSetting

createCompositeSetting should work with an array value
  βœ… createCompositeSetting should work with an array value

βœ…Β api/blocks-api/junit.xml

8 tests were completed in 6s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ChildBlockInput 1βœ… 597ms
FlatBlocks 2βœ… 5s
Search 3βœ… 5s
transform to save index 2βœ… 5s

βœ…Β ChildBlockInput

ChildBlockInput should fail if no value is provided
  βœ… ChildBlockInput should fail if no value is provided

βœ…Β FlatBlocks

FlatBlocks visits all BlockData-references breadth first
  βœ… FlatBlocks visits all BlockData-references breadth first
FlatBlocks visits childblocks of blockBlock
  βœ… FlatBlocks visits childblocks of blockBlock

βœ…Β Search

Search gets SearchData
  βœ… Search gets SearchData
Search gets SearchData and respects invisible blocks
  βœ… Search gets SearchData and respects invisible blocks
Search gets SearchData and respects nested invisible blocks
  βœ… Search gets SearchData and respects nested invisible blocks

βœ…Β transform to save index

transform to save index build correctly
  βœ… transform to save index build correctly
transform to save index extract id of DamFile
  βœ… transform to save index extract id of DamFile

βœ…Β api/cms-api/junit.xml

152 tests were completed in 82s with 152 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AbstractAccessControlService 1βœ… 517ms
BuildsService 5βœ… 3s
createImageLinkBlock 1βœ… 1s
Files Utils 3βœ… 2s
generate-crud relations two levels 1βœ… 5s
GenerateCrud 4βœ… 7s
GenerateCrud dedicatedResolverArg 3βœ… 6s
GenerateCrud Relation n:m with additional column 2βœ… 5s
GenerateCrud Status with active 5βœ… 12s
GenerateCrud with ScopedEntity 2βœ… 5s
GenerateCrud without find condition 1βœ… 3s
GenerateCrudEnumArray 2βœ… 11s
GenerateCrudEnumMultiUse 1βœ… 9s
GenerateCrudEnumOptional 1βœ… 9s
GenerateCrudInput 8βœ… 24s
GenerateCrudInput 1βœ… 3s
GenerateCrudInputArray 1βœ… 9s
GenerateCrudInputEmbedded 6βœ… 15s
GenerateCrudInputInteger 1βœ… 4s
GenerateCrudInputJson 3βœ… 10s
GenerateCrudInputRelations 2βœ… 3s
GenerateCrudPosition 4βœ… 10s
GenerateCrudRelations 3βœ… 6s
GenerateCrudRelationsIdNumber 2βœ… 6s
GenerateCrudRelationsIdString 1βœ… 4s
GenerateCrudRelationsMultiUse 1βœ… 4s
GenerateCrudRelationsNested 1βœ… 4s
GenerateCrudResolveField 1βœ… 4s
GenerateCrudResolveIdInteger 1βœ… 4s
GenerateDefinedValidatorDecorators 6βœ… 29s
IsSlug 3βœ… 455ms
KubernetesJobsService 2βœ… 2s
PageTreeReadApi 11βœ… 881ms
RootBlockDataScalar 2βœ… 1s
RootBlockInputScalar 2βœ… 5s
splitSearchString 32βœ… 958ms
UserPermissionsGuard 26βœ… 15s

βœ…Β AbstractAccessControlService

AbstractAccessControlService isAllowed should treat null and undefined scope dimensions the same
  βœ… AbstractAccessControlService isAllowed should treat null and undefined scope dimensions the same

βœ…Β BuildsService

BuildsService getBuilderCronJobsToStart should return single job for exact match
  βœ… BuildsService getBuilderCronJobsToStart should return single job for exact match
BuildsService getBuilderCronJobsToStart should return two jobs if two jobs have the exact same scope
  βœ… BuildsService getBuilderCronJobsToStart should return two jobs if two jobs have the exact same scope
BuildsService getBuilderCronJobsToStart should return multiple jobs for multiple exact matches
  βœ… BuildsService getBuilderCronJobsToStart should return multiple jobs for multiple exact matches
BuildsService getBuilderCronJobsToStart should return all partially matching jobs
  βœ… BuildsService getBuilderCronJobsToStart should return all partially matching jobs
BuildsService getBuilderCronJobsToStart should throw an error if no job is found
  βœ… BuildsService getBuilderCronJobsToStart should throw an error if no job is found

βœ…Β createImageLinkBlock

createImageLinkBlock should allow overriding the name
  βœ… createImageLinkBlock should allow overriding the name

βœ…Β Files Utils

Files Utils svgContainsJavaScript should return false if the svg doesn't contain a script tag or event handler
  βœ… Files Utils svgContainsJavaScript should return false if the svg doesn't contain a script tag or event handler
Files Utils svgContainsJavaScript should return true if the svg contains a script tag
  βœ… Files Utils svgContainsJavaScript should return true if the svg contains a script tag
Files Utils svgContainsJavaScript should return true if the svg contains an event handler
  βœ… Files Utils svgContainsJavaScript should return true if the svg contains an event handler

βœ…Β generate-crud relations two levels

generate-crud relations two levels should be a valid generated ts file
  βœ… generate-crud relations two levels should be a valid generated ts file

βœ…Β GenerateCrud

GenerateCrud resolver class should be a valid generated ts file
  βœ… GenerateCrud resolver class should be a valid generated ts file
GenerateCrud string filter should be a valid generated ts file
  βœ… GenerateCrud string filter should be a valid generated ts file
GenerateCrud number filter should be a valid generated ts file
  βœ… GenerateCrud number filter should be a valid generated ts file
GenerateCrud text type filter should be a valid generated ts file
  βœ… GenerateCrud text type filter should be a valid generated ts file

βœ…Β GenerateCrud dedicatedResolverArg

GenerateCrud dedicatedResolverArg resolver class input type must not include product relation
  βœ… GenerateCrud dedicatedResolverArg resolver class input type must not include product relation
GenerateCrud dedicatedResolverArg resolver class query list must include product arg
  βœ… GenerateCrud dedicatedResolverArg resolver class query list must include product arg
GenerateCrud dedicatedResolverArg resolver class create mutation must include product arg
  βœ… GenerateCrud dedicatedResolverArg resolver class create mutation must include product arg

βœ…Β GenerateCrud Relation n:m with additional column

GenerateCrud Relation n:m with additional column should inject 2 nested deep repository
  βœ… GenerateCrud Relation n:m with additional column should inject 2 nested deep repository
GenerateCrud Relation n:m with additional column should call loadItems on collection
  βœ… GenerateCrud Relation n:m with additional column should call loadItems on collection

βœ…Β GenerateCrud Status with active

GenerateCrud Status with active input should contain status
  βœ… GenerateCrud Status with active input should contain status
GenerateCrud Status with active resolver should not include update status mutation
  βœ… GenerateCrud Status with active resolver should not include update status mutation
GenerateCrud Status with active args should use status enum as defined for enitity
  βœ… GenerateCrud Status with active args should use status enum as defined for enitity
GenerateCrud Status with published/unpublished args should include default value
  βœ… GenerateCrud Status with published/unpublished args should include default value
GenerateCrud Status with published/unpublished args should not include status filter as all are active ones
  βœ… GenerateCrud Status with published/unpublished args should not include status filter as all are active ones

βœ…Β GenerateCrud with ScopedEntity

GenerateCrud with ScopedEntity resolver must not have skipScopeCheck
  βœ… GenerateCrud with ScopedEntity resolver must not have skipScopeCheck
GenerateCrud with Scope resolver must not have skipScopeCheck
  βœ… GenerateCrud with Scope resolver must not have skipScopeCheck

βœ…Β GenerateCrud without find condition

GenerateCrud without find condition where should be typed as ObjectQuery as it is when findCondition is used
  βœ… GenerateCrud without find condition where should be typed as ObjectQuery as it is when findCondition is used

βœ…Β GenerateCrudEnumArray

GenerateCrudEnumArray should correctly add EnumArrayType in input type
  βœ… GenerateCrudEnumArray should correctly add EnumArrayType in input type
GenerateCrudEnumArray should correctly add EnumArrayType in filter type
  βœ… GenerateCrudEnumArray should correctly add EnumArrayType in filter type

βœ…Β GenerateCrudEnumMultiUse

GenerateCrudEnumMultiUse should import a enum reference only once if used multiple times
  βœ… GenerateCrudEnumMultiUse should import a enum reference only once if used multiple times

βœ…Β GenerateCrudEnumOptional

GenerateCrudEnumOptional should correctly determine enum import path
  βœ… GenerateCrudEnumOptional should correctly determine enum import path

βœ…Β GenerateCrudInput

GenerateCrudInput string input class should be a valid generated ts file
  βœ… GenerateCrudInput string input class should be a valid generated ts file
GenerateCrudInput date input class should be a valid generated ts file
  βœ… GenerateCrudInput date input class should be a valid generated ts file
GenerateCrudInput boolean input class should be a valid generated ts file
  βœ… GenerateCrudInput boolean input class should be a valid generated ts file
GenerateCrudInput enum input class should be a valid generated ts file
  βœ… GenerateCrudInput enum input class should be a valid generated ts file
GenerateCrudInput uuid input class should be a valid generated ts file
  βœ… GenerateCrudInput uuid input class should be a valid generated ts file
GenerateCrudInput text type input class should be a valid generated ts file
  βœ… GenerateCrudInput text type input class should be a valid generated ts file
GenerateCrudInput nullable props input class with initializer should be a valid generated ts file
  βœ… GenerateCrudInput nullable props input class with initializer should be a valid generated ts file
GenerateCrudInput nullable props input class without initializer should be a valid generated ts file
  βœ… GenerateCrudInput nullable props input class without initializer should be a valid generated ts file

βœ…Β GenerateCrudInput

GenerateCrudInput shouldn't generate an update input
  βœ… GenerateCrudInput shouldn't generate an update input

βœ…Β GenerateCrudInputArray

GenerateCrudInputArray should support all string array variants
  βœ… GenerateCrudInputArray should support all string array variants

βœ…Β GenerateCrudInputEmbedded

GenerateCrudInputEmbedded crud classes with sort, filter, input enabled for embedded object filter for embedded field should exist
  βœ… GenerateCrudInputEmbedded crud classes with sort, filter, input enabled for embedded object filter for embedded field should exist
GenerateCrudInputEmbedded crud classes with sort, filter, input enabled for embedded object input for embedded field should exist
  βœ… GenerateCrudInputEmbedded crud classes with sort, filter, input enabled for embedded object input for embedded field should exist
GenerateCrudInputEmbedded crud classes with sort, filter, input enabled for embedded object sort for embedded field should exist
  βœ… GenerateCrudInputEmbedded crud classes with sort, filter, input enabled for embedded object sort for embedded field should exist
GenerateCrudInputEmbedded crud classes with sort, filter, input disabled for embedded object filter for embedded field should not exist
  βœ… GenerateCrudInputEmbedded crud classes with sort, filter, input disabled for embedded object filter for embedded field should not exist
GenerateCrudInputEmbedded crud classes with sort, filter, input disabled for embedded object input for embedded field should not exist
  βœ… GenerateCrudInputEmbedded crud classes with sort, filter, input disabled for embedded object input for embedded field should not exist
GenerateCrudInputEmbedded crud classes with sort, filter, input disabled for embedded object sort for embedded field should not exist
  βœ… GenerateCrudInputEmbedded crud classes with sort, filter, input disabled for embedded object sort for embedded field should not exist

βœ…Β GenerateCrudInputInteger

GenerateCrudInputInteger should generate correct input type for integer values
  βœ… GenerateCrudInputInteger should generate correct input type for integer values

βœ…Β GenerateCrudInputJson

GenerateCrudInputJson input class literal array should be a valid generated ts file
  βœ… GenerateCrudInputJson input class literal array should be a valid generated ts file
GenerateCrudInputJson input class json object should be a valid generated ts file
  βœ… GenerateCrudInputJson input class json object should be a valid generated ts file
GenerateCrudInputJson input class record should be a valid generated ts file
  βœ… GenerateCrudInputJson input class record should be a valid generated ts file

βœ…Β GenerateCrudInputRelations

GenerateCrudInputRelations n:1 input dto should contain relation id
  βœ… GenerateCrudInputRelations n:1 input dto should contain relation id
GenerateCrudInputRelations 1:n input dto should contain relation id
  βœ… GenerateCrudInputRelations 1:n input dto should contain relation id

βœ…Β GenerateCrudPosition

GenerateCrudPosition input should contain optional position with Int and Min(1)
  βœ… GenerateCrudPosition input should contain optional position with Int and Min(1)
GenerateCrudPosition service should implement position-functions
  βœ… GenerateCrudPosition service should implement position-functions
GenerateCrudPosition service should implement getPositionGroupCondition-function if scope existent
  βœ… GenerateCrudPosition service should implement getPositionGroupCondition-function if scope existent
GenerateCrudPosition service should implement getPositionGroupCondition-function if configured
  βœ… GenerateCrudPosition service should implement getPositionGroupCondition-function if configured

βœ…Β GenerateCrudRelations

GenerateCrudRelations resolver class should be a valid generated ts file
  βœ… GenerateCrudRelations resolver class should be a valid generated ts file
  βœ… GenerateCrudRelations resolver class should be a valid generated ts file
GenerateCrudRelations resolver class input type to category relation should be string with uuid validator
  βœ… GenerateCrudRelations resolver class input type to category relation should be string with uuid validator

βœ…Β GenerateCrudRelationsIdNumber

GenerateCrudRelationsIdNumber resolver class input type to category relation with primary key type integer should be number with integer validator
  βœ… GenerateCrudRelationsIdNumber resolver class input type to category relation with primary key type integer should be number with integer validator
GenerateCrudRelationsIdNumber resolver class input type to category relation with primary key type int should be number with integer validator
  βœ… GenerateCrudRelationsIdNumber resolver class input type to category relation with primary key type int should be number with integer validator

βœ…Β GenerateCrudRelationsIdString

GenerateCrudRelationsIdString resolver class input type to category relation should be string with isString and not IsUuid validator
  βœ… GenerateCrudRelationsIdString resolver class input type to category relation should be string with isString and not IsUuid validator

βœ…Β GenerateCrudRelationsMultiUse

GenerateCrudRelationsMultiUse should import a relation reference only once if used multiple times
  βœ… GenerateCrudRelationsMultiUse should import a relation reference only once if used multiple times

βœ…Β GenerateCrudRelationsNested

GenerateCrudRelationsNested resolver class should be a valid generated ts file
  βœ… GenerateCrudRelationsNested resolver class should be a valid generated ts file

βœ…Β GenerateCrudResolveField

GenerateCrudResolveField Resolve field should not include categories in resolver
  βœ… GenerateCrudResolveField Resolve field should not include categories in resolver

βœ…Β GenerateCrudResolveIdInteger

GenerateCrudResolveIdInteger should generate item resolver with correctly typed id parameter
  βœ… GenerateCrudResolveIdInteger should generate item resolver with correctly typed id parameter

βœ…Β GenerateDefinedValidatorDecorators

GenerateDefinedValidatorDecorators simple validator should set IsEmail decorator
  βœ… GenerateDefinedValidatorDecorators simple validator should set IsEmail decorator
GenerateDefinedValidatorDecorators simple validator case sensitive validator should set IsISO8601 decorator
  βœ… GenerateDefinedValidatorDecorators simple validator case sensitive validator should set IsISO8601 decorator
GenerateDefinedValidatorDecorators simple validator shortened decorator name should set Length decorator
  βœ… GenerateDefinedValidatorDecorators simple validator shortened decorator name should set Length decorator
GenerateDefinedValidatorDecorators simple validator decorator with arguments should set defined arguments
  βœ… GenerateDefinedValidatorDecorators simple validator decorator with arguments should set defined arguments
GenerateDefinedValidatorDecorators simple validator relative path should set IsValidRedirectSource decorator
  βœ… GenerateDefinedValidatorDecorators simple validator relative path should set IsValidRedirectSource decorator
GenerateDefinedValidatorDecorators validator defined in file should set IsTrueAsString decorator
  βœ… GenerateDefinedValidatorDecorators validator defined in file should set IsTrueAsString decorator

βœ…Β IsSlug

IsSlug findAll should accept a valid slug
  βœ… IsSlug findAll should accept a valid slug
IsSlug findAll should not accept space
  βœ… IsSlug findAll should not accept space
IsSlug findAll should not accept umlaut
  βœ… IsSlug findAll should not accept umlaut

βœ…Β KubernetesJobsService

KubernetesJobsService should create job name with full date
  βœ… KubernetesJobsService should create job name with full date
KubernetesJobsService should shorten job name if result would be longer than 63 chars
  βœ… KubernetesJobsService should shorten job name if result would be longer than 63 chars

βœ…Β PageTreeReadApi

PageTreeReadApi sortPreloadedNodes should skip sorting if only sort criteria is by pos ascending
  βœ… PageTreeReadApi sortPreloadedNodes should skip sorting if only sort criteria is by pos ascending
PageTreeReadApi sortPreloadedNodes should sort by pos descending
  βœ… PageTreeReadApi sortPreloadedNodes should sort by pos descending
PageTreeReadApi sortPreloadedNodes should sort by updatedAt ascending
  βœ… PageTreeReadApi sortPreloadedNodes should sort by updatedAt ascending
PageTreeReadApi sortPreloadedNodes should sort by updatedAt descending
  βœ… PageTreeReadApi sortPreloadedNodes should sort by updatedAt descending
PageTreeReadApi sortPreloadedNodes should sort first by position, then by updatedAt
  βœ… PageTreeReadApi sortPreloadedNodes should sort first by position, then by updatedAt
PageTreeReadApi sortPreloadedNodes should sort first by updatedAt, then by position
  βœ… PageTreeReadApi sortPreloadedNodes should sort first by updatedAt, then by position
PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with correct offset and limit options Should return [1] with offset 0 limit 1
  βœ… PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with correct offset and limit options Should return [1] with offset 0 limit 1
PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with correct offset and limit options Should return [2, 3] with offset 1 limit 2
  βœ… PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with correct offset and limit options Should return [2, 3] with offset 1 limit 2
PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with correct offset and limit options Should return empty array with offset 3 limit 1
  βœ… PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with correct offset and limit options Should return empty array with offset 3 limit 1
PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with incorrect offset and limit options Should throw Error with offset -1 limit 2
  βœ… PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with incorrect offset and limit options Should throw Error with offset -1 limit 2
PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with incorrect offset and limit options Should throw Error with offset 1 limit -1
  βœ… PageTreeReadApi paginatePreloadedNodes Nodes [1, 2, 3] with incorrect offset and limit options Should throw Error with offset 1 limit -1

βœ…Β RootBlockDataScalar

RootBlockDataScalar should work
  βœ… RootBlockDataScalar should work
RootBlockDataScalar should work with multiple instances of the same scalar
  βœ… RootBlockDataScalar should work with multiple instances of the same scalar

βœ…Β RootBlockInputScalar

RootBlockInputScalar should work
  βœ… RootBlockInputScalar should work
RootBlockInputScalar should work with multiple instances of the same scalar
  βœ… RootBlockInputScalar should work with multiple instances of the same scalar

βœ…Β splitSearchString

splitSearchString should split a simple space-separated string
  βœ… splitSearchString should split a simple space-separated string
splitSearchString should handle quoted strings as single tokens
  βœ… splitSearchString should handle quoted strings as single tokens
splitSearchString should handle escaped quotes within quoted strings
  βœ… splitSearchString should handle escaped quotes within quoted strings
splitSearchString should handle single quotes
  βœ… splitSearchString should handle single quotes
splitSearchString should handle escaped quotes within single quoted strings
  βœ… splitSearchString should handle escaped quotes within single quoted strings
splitSearchString should handle mixed quotes
  βœ… splitSearchString should handle mixed quotes
splitSearchString should handle empty strings
  βœ… splitSearchString should handle empty strings
splitSearchString should handle strings with special characters
  βœ… splitSearchString should handle strings with special characters
splitSearchString should handle strings with only special characters
  βœ… splitSearchString should handle strings with only special characters
searchToMikroOrmQuery should work
  βœ… searchToMikroOrmQuery should work
searchToMikroOrmQuery should escape %
  βœ… searchToMikroOrmQuery should escape %
searchToMikroOrmQuery should escape _
  βœ… searchToMikroOrmQuery should escape _
searchToMikroOrmQuery should split by spaces
  βœ… searchToMikroOrmQuery should split by spaces
searchToMikroOrmQuery should ignore leading and trailing spaces
  βœ… searchToMikroOrmQuery should ignore leading and trailing spaces
filterToMikroOrmQuery string equal
  βœ… filterToMikroOrmQuery string equal
filterToMikroOrmQuery string not equal
  βœ… filterToMikroOrmQuery string not equal
filterToMikroOrmQuery string contains
  βœ… filterToMikroOrmQuery string contains
filterToMikroOrmQuery string contains escape %
  βœ… filterToMikroOrmQuery string contains escape %
filterToMikroOrmQuery string contains escape _
  βœ… filterToMikroOrmQuery string contains escape _
filterToMikroOrmQuery string starts with
  βœ… filterToMikroOrmQuery string starts with
filterToMikroOrmQuery string ends with
  βœ… filterToMikroOrmQuery string ends with
filterToMikroOrmQuery string starts with and contains
  βœ… filterToMikroOrmQuery string starts with and contains
filterToMikroOrmQuery number equals
  βœ… filterToMikroOrmQuery number equals
filterToMikroOrmQuery number not equals
  βœ… filterToMikroOrmQuery number not equals
filterToMikroOrmQuery number gt
  βœ… filterToMikroOrmQuery number gt
filterToMikroOrmQuery boolean equals
  βœ… filterToMikroOrmQuery boolean equals
filtersToMikroOrmQuery string equal
  βœ… filtersToMikroOrmQuery string equal
filtersToMikroOrmQuery and filter
  βœ… filtersToMikroOrmQuery and filter
filtersToMikroOrmQuery or filter
  βœ… filtersToMikroOrmQuery or filter
filtersToMikroOrmQuery custom apply filter
  βœ… filtersToMikroOrmQuery custom apply filter
filtersToMikroOrmQuery custom apply filter with default fallback
  βœ… filtersToMikroOrmQuery custom apply filter with default fallback
filtersToMikroOrmQuery empty filter
  βœ… filtersToMikroOrmQuery empty filter

βœ…Β UserPermissionsGuard

UserPermissionsGuard allows bypassing
  βœ… UserPermissionsGuard allows bypassing
UserPermissionsGuard denies if no user is provided
  βœ… UserPermissionsGuard denies if no user is provided
UserPermissionsGuard allows user with exact permission
  βœ… UserPermissionsGuard allows user with exact permission
UserPermissionsGuard allows user with at least one permission
  βœ… UserPermissionsGuard allows user with at least one permission
UserPermissionsGuard denies user with a wrong permission
  βœ… UserPermissionsGuard denies user with a wrong permission
UserPermissionsGuard denies user with only a partial permission
  βœ… UserPermissionsGuard denies user with only a partial permission
UserPermissionsGuard denies user with empty permission
  βœ… UserPermissionsGuard denies user with empty permission
UserPermissionsGuard denies user without permissions
  βœ… UserPermissionsGuard denies user without permissions
UserPermissionsGuard allows user with at least one of the required permissions
  βœ… UserPermissionsGuard allows user with at least one of the required permissions
UserPermissionsGuard denies user without one the the required permissions
  βœ… UserPermissionsGuard denies user without one the the required permissions
UserPermissionsGuard allows user with scope
  βœ… UserPermissionsGuard allows user with scope
UserPermissionsGuard allows user with scope when submitted scope is partial
  βœ… UserPermissionsGuard allows user with scope when submitted scope is partial
UserPermissionsGuard allows user with scope when submitted scope is empty
  βœ… UserPermissionsGuard allows user with scope when submitted scope is empty
UserPermissionsGuard denies user with wrong scope
  βœ… UserPermissionsGuard denies user with wrong scope
UserPermissionsGuard denies user with a partial scope
  βœ… UserPermissionsGuard denies user with a partial scope
UserPermissionsGuard allows user by affected entity
  βœ… UserPermissionsGuard allows user by affected entity
UserPermissionsGuard denies user with wrong scope by affected entity
  βœ… UserPermissionsGuard denies user with wrong scope by affected entity
UserPermissionsGuard allows user by multiple affected entities
  βœ… UserPermissionsGuard allows user by multiple affected entities
UserPermissionsGuard denies user without all requried scopes by multiple affected entities
  βœ… UserPermissionsGuard denies user without all requried scopes by multiple affected entities
UserPermissionsGuard allows user by scoped entity
  βœ… UserPermissionsGuard allows user by scoped entity
UserPermissionsGuard denies user with wrong scope by scoped entity
  βœ… UserPermissionsGuard denies user with wrong scope by scoped entity
UserPermissionsGuard allows user by multiple scopes from one scoped entity
  βœ… UserPermissionsGuard allows user by multiple scopes from one scoped entity
UserPermissionsGuard denies user with wrong scope by multiple scopes from one scoped entity
  βœ… UserPermissionsGuard denies user with wrong scope by multiple scopes from one scoped entity
UserPermissionsGuard fails when RequiredPermission decorator is missing
  βœ… UserPermissionsGuard fails when RequiredPermission decorator is missing
UserPermissionsGuard fails when RequiredPermission decorator has empty permissions
  βœ… UserPermissionsGuard fails when RequiredPermission decorator has empty permissions
UserPermissionsGuard fails when Content Scope cannot be acquired
  βœ… UserPermissionsGuard fails when Content Scope cannot be acquired

βœ…Β api/cms-api/node_modules/@comet/blocks-api/junit.xml

8 tests were completed in 6s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ChildBlockInput 1βœ… 597ms
FlatBlocks 2βœ… 5s
Search 3βœ… 5s
transform to save index 2βœ… 5s

βœ…Β ChildBlockInput

ChildBlockInput should fail if no value is provided
  βœ… ChildBlockInput should fail if no value is provided

βœ…Β FlatBlocks

FlatBlocks visits all BlockData-references breadth first
  βœ… FlatBlocks visits all BlockData-references breadth first
FlatBlocks visits childblocks of blockBlock
  βœ… FlatBlocks visits childblocks of blockBlock

βœ…Β Search

Search gets SearchData
  βœ… Search gets SearchData
Search gets SearchData and respects invisible blocks
  βœ… Search gets SearchData and respects invisible blocks
Search gets SearchData and respects nested invisible blocks
  βœ… Search gets SearchData and respects nested invisible blocks

βœ…Β transform to save index

transform to save index build correctly
  βœ… transform to save index build correctly
transform to save index extract id of DamFile
  βœ… transform to save index extract id of DamFile

βœ…Β site/cms-site/junit.xml

7 tests were completed in 7s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Image: parseAspectRatio 7βœ… 6s

βœ…Β Image: parseAspectRatio

Image: parseAspectRatio should throw Error if invalid value
  βœ… Image: parseAspectRatio should throw Error if invalid value
Image: parseAspectRatio should work with single integer value
  βœ… Image: parseAspectRatio should work with single integer value
Image: parseAspectRatio should work with single float value
  βœ… Image: parseAspectRatio should work with single float value
Image: parseAspectRatio should work with single string value
  βœ… Image: parseAspectRatio should work with single string value
Image: parseAspectRatio should work with string value with x
  βœ… Image: parseAspectRatio should work with string value with x
Image: parseAspectRatio should work with string value with /
  βœ… Image: parseAspectRatio should work with string value with /
Image: parseAspectRatio should work with string value with :
  βœ… Image: parseAspectRatio should work with string value with :