UIPQB-175: Displays the "Smth went wrong" page, when the user clicks … #372
GitHub Actions / Jest Unit Test Results
succeeded
Dec 24, 2024 in 0s
All 125 tests pass, 1 skipped in 1m 27s
Annotations
Check notice on line 0 in .github
github-actions / Jest Unit Test Results
1 skipped test found
There is 1 skipped test, see "Raw output" for the name of the skipped test.
Raw output
QueryBuilderModal should show banner if limit is exceeded ‑ QueryBuilderModal should show banner if limit is exceeded
Check notice on line 0 in .github
github-actions / Jest Unit Test Results
126 tests found
There are 126 tests, see "Raw output" for the full list of tests.
Raw output
DataTypeInput should render correct component based on DEFAULT and > ‑ DataTypeInput should render correct component based on DEFAULT and >
DataTypeInput should render correct component based on arrayType and contains ‑ DataTypeInput should render correct component based on arrayType and contains
DataTypeInput should render correct component based on booleanType and is null/empty ‑ DataTypeInput should render correct component based on booleanType and is null/empty
DataTypeInput should render correct component based on booleanType and == ‑ DataTypeInput should render correct component based on booleanType and ==
DataTypeInput should render correct component based on dateType and > ‑ DataTypeInput should render correct component based on dateType and >
DataTypeInput should render correct component based on enumType and == ‑ DataTypeInput should render correct component based on enumType and ==
DataTypeInput should render correct component based on jsonbArrayType and contains ‑ DataTypeInput should render correct component based on jsonbArrayType and contains
DataTypeInput should render correct component based on openUUIDType and == ‑ DataTypeInput should render correct component based on openUUIDType and ==
DataTypeInput should render correct component based on openUUIDType and in ‑ DataTypeInput should render correct component based on openUUIDType and in
DataTypeInput should render correct component based on rangedUUIDType and == ‑ DataTypeInput should render correct component based on rangedUUIDType and ==
DataTypeInput should render correct component based on stringType and == ‑ DataTypeInput should render correct component based on stringType and ==
DataTypeInput should render correct component based on stringType and not in ‑ DataTypeInput should render correct component based on stringType and not in
DataTypeInput should render correct component based on stringUUIDType and == ‑ DataTypeInput should render correct component based on stringUUIDType and ==
DynamicTable component renders null value for empty/invalid input [] ‑ DynamicTable component renders null value for empty/invalid input []
DynamicTable component renders null value for empty/invalid input null ‑ DynamicTable component renders null value for empty/invalid input null
DynamicTable component renders null value for empty/invalid input undefined ‑ DynamicTable component renders null value for empty/invalid input undefined
DynamicTable component renders table with correct properties and values ‑ DynamicTable component renders table with correct properties and values
QueryBuilder should show/close query builder modal by show/cancel buttons click ‑ QueryBuilder should show/close query builder modal by show/cancel buttons click
QueryBuilderModal should remove row when remove button clicked ‑ QueryBuilderModal should remove row when remove button clicked
QueryBuilderModal should render boolean select when row added ‑ QueryBuilderModal should render boolean select when row added
QueryBuilderModal should render modal ‑ QueryBuilderModal should render modal
QueryBuilderModal should render new label with saveBtnLabel ‑ QueryBuilderModal should render new label with saveBtnLabel
QueryBuilderModal should render only field select by default ‑ QueryBuilderModal should render only field select by default
QueryBuilderModal should show banner if limit is exceeded ‑ QueryBuilderModal should show banner if limit is exceeded
QueryBuilderModal should show progress table when form valid and testQuery button clicked ‑ QueryBuilderModal should show progress table when form valid and testQuery button clicked
ResultViewer Initial and visible columns setters should call both when no initial fields are provided (recordColumns=[]) ‑ ResultViewer Initial and visible columns setters should call both when no initial fields are provided (recordColumns=[])
ResultViewer Initial and visible columns setters should call both when no initial fields are provided (recordColumns=undefined) ‑ ResultViewer Initial and visible columns setters should call both when no initial fields are provided (recordColumns=undefined)
ResultViewer Initial and visible columns setters should call initial column setter when initial fields are changed ‑ ResultViewer Initial and visible columns setters should call initial column setter when initial fields are changed
ResultViewer Records table should be rendered with pagination ‑ ResultViewer Records table should be rendered with pagination
ResultViewer Records table should format language name shortcuts to full name ‑ ResultViewer Records table should format language name shortcuts to full name
ResultViewer Refresh functionality should call changePage to #1 if refreshing triggered ‑ ResultViewer Refresh functionality should call changePage to #1 if refreshing triggered
ResultViewer Render accordion and titles should not render accordion if accordionHeadline prop is NULL ‑ ResultViewer Render accordion and titles should not render accordion if accordionHeadline prop is NULL
ResultViewer Render accordion and titles should render subtitle with correct count of records ‑ ResultViewer Render accordion and titles should render subtitle with correct count of records
ResultViewer Should render accordion title ‑ ResultViewer Should render accordion title
Should render different parts of plugin based on componentType should render QueryBuilderModal ‑ Should render different parts of plugin based on componentType should render QueryBuilderModal
Should render different parts of plugin based on componentType should render ResultsViewer ‑ Should render different parts of plugin based on componentType should render ResultsViewer
findMissingValues should handle cases where both arrays are empty ‑ findMissingValues should handle cases where both arrays are empty
findMissingValues should handle cases where mainArray is empty ‑ findMissingValues should handle cases where mainArray is empty
findMissingValues should handle cases where secondaryArray is empty ‑ findMissingValues should handle cases where secondaryArray is empty
findMissingValues should ignore null or undefined values in secondaryArray ‑ findMissingValues should ignore null or undefined values in secondaryArray
findMissingValues should return an empty array when all values are present in mainArray ‑ findMissingValues should return an empty array when all values are present in mainArray
findMissingValues should return missing values from secondaryArray that are not in mainArray ‑ findMissingValues should return missing values from secondaryArray that are not in mainArray
getFieldOptions returns the expected field options ‑ getFieldOptions returns the expected field options
getFilteredOptions should correctly match labels with non-Latin characters (Chinese) ‑ getFilteredOptions should correctly match labels with non-Latin characters (Chinese)
getFilteredOptions should ignore other special characters but still match meaningful content ‑ getFilteredOptions should ignore other special characters but still match meaningful content
getFilteredOptions should match values case-insensitively ‑ getFilteredOptions should match values case-insensitively
getFilteredOptions should retain special characters like em dash (—) in the input and match labels ‑ getFilteredOptions should retain special characters like em dash (—) in the input and match labels
getFilteredOptions should return all options if input value is an empty string ‑ getFilteredOptions should return all options if input value is an empty string
getFilteredOptions should return an empty array if no options match ‑ getFilteredOptions should return an empty array if no options match
getFilteredOptions should return entire list if put "—" ‑ getFilteredOptions should return entire list if put "—"
getFilteredOptions should return options that match the input value ‑ getFilteredOptions should return options that match the input value
getTransformedValue transforms a to [ 'a' ] ‑ getTransformedValue transforms a to [ 'a' ]
getTransformedValue transforms a , b to [ 'a', 'b' ] ‑ getTransformedValue transforms a , b to [ 'a', 'b' ]
getTransformedValue transforms [ 'a', 'b' ] to [ 'a', 'b' ] ‑ getTransformedValue transforms [ 'a', 'b' ] to [ 'a', 'b' ]
getTransformedValue transforms [ [Object], [Object] ] to [ 'a', 'b' ] ‑ getTransformedValue transforms [ [Object], [Object] ] to [ 'a', 'b' ]
getTransformedValue transforms [ [Object], [Object], 'c' ] to [ 'a', 'b', 'c' ] ‑ getTransformedValue transforms [ [Object], [Object], 'c' ] to [ 'a', 'b', 'c' ]
getTransformedValue transforms [ undefined, [Object], 'c' ] to [ undefined, 'b', 'c' ] ‑ getTransformedValue transforms [ undefined, [Object], 'c' ] to [ undefined, 'b', 'c' ]
getTransformedValue transforms [] to [] ‑ getTransformedValue transforms [] to []
getTransformedValue transforms a to [ 'a' ] ‑ getTransformedValue transforms a to [ 'a' ]
getTransformedValue transforms a to [ 'a' ] ‑ getTransformedValue transforms a to [ 'a' ]
getTransformedValue transforms undefined to undefined ‑ getTransformedValue transforms undefined to undefined
initial values legacy conversion considers initialValues=null and entityType=null as a new query ‑ initial values legacy conversion considers initialValues=null and entityType=null as a new query
initial values legacy conversion considers initialValues=null and entityType=undefined as a new query ‑ initial values legacy conversion considers initialValues=null and entityType=undefined as a new query
initial values legacy conversion considers initialValues=null and entityType={} as a new query ‑ initial values legacy conversion considers initialValues=null and entityType={} as a new query
initial values legacy conversion considers initialValues=undefined and entityType=null as a new query ‑ initial values legacy conversion considers initialValues=undefined and entityType=null as a new query
initial values legacy conversion considers initialValues=undefined and entityType=undefined as a new query ‑ initial values legacy conversion considers initialValues=undefined and entityType=undefined as a new query
initial values legacy conversion considers initialValues=undefined and entityType={} as a new query ‑ initial values legacy conversion considers initialValues=undefined and entityType={} as a new query
initial values legacy conversion considers initialValues={ _version: '1' } and entityType=null as a new query ‑ initial values legacy conversion considers initialValues={ _version: '1' } and entityType=null as a new query
initial values legacy conversion considers initialValues={ _version: '1' } and entityType=undefined as a new query ‑ initial values legacy conversion considers initialValues={ _version: '1' } and entityType=undefined as a new query
initial values legacy conversion considers initialValues={ _version: '1' } and entityType={} as a new query ‑ initial values legacy conversion considers initialValues={ _version: '1' } and entityType={} as a new query
initial values legacy conversion converts { _version: '1', foo: '' } to { foo: '' } ‑ initial values legacy conversion converts { _version: '1', foo: '' } to { foo: '' }
initial values legacy conversion converts { _version: '1', idColumn: '' } to { foo: '' } ‑ initial values legacy conversion converts { _version: '1', idColumn: '' } to { foo: '' }
initial values legacy conversion converts { idColumn: '', bar: '' } to { foo: '', bar: '' } ‑ initial values legacy conversion converts { idColumn: '', bar: '' } to { foo: '', bar: '' }
initial values legacy conversion processes but does not convert non-id columns in { bar: '' } ‑ initial values legacy conversion processes but does not convert non-id columns in { bar: '' }
initial values legacy conversion processes but does not convert non-id columns in { foo: '' } ‑ initial values legacy conversion processes but does not convert non-id columns in { foo: '' }
initial values legacy conversion processes but does not convert non-id columns in { foo: '', bar: '' } ‑ initial values legacy conversion processes but does not convert non-id columns in { foo: '', bar: '' }
isQueryValid returns false if any item in the source array is invalid ‑ isQueryValid returns false if any item in the source array is invalid
isQueryValid returns false if source is empty ‑ isQueryValid returns false if source is empty
isQueryValid returns true if values in the source array are arrays and not empty ‑ isQueryValid returns true if values in the source array are arrays and not empty
isQueryValid returns true if values in the source array are boolean ‑ isQueryValid returns true if values in the source array are boolean
isQueryValid returns true if values in the source array are truthy ‑ isQueryValid returns true if values in the source array are truthy
isQueryValid returns true when all items in the source array are valid ‑ isQueryValid returns true when all items in the source array are valid
mongoQueryToSource() should convert from SINGLE source to simple query format ‑ mongoQueryToSource() should convert from SINGLE source to simple query format
mongoQueryToSource() should convert from source to simple query format ‑ mongoQueryToSource() should convert from source to simple query format
mongoQueryToSource() should convert simple query to source format ‑ mongoQueryToSource() should convert simple query to source format
mongoQueryToSource() should convert single query without operators to source format ‑ mongoQueryToSource() should convert single query without operators to source format
mongoQueryToSource() should handle case when queried field is deleted ‑ mongoQueryToSource() should handle case when queried field is deleted
mongoQueryToSource() should return empty array for empty query ‑ mongoQueryToSource() should return empty array for empty query
select options getFieldOptions should be equal to result value ‑ select options getFieldOptions should be equal to result value
select options getOperatorOptions should return UUID operators with placeholder for ranged UUID type ‑ select options getOperatorOptions should return UUID operators with placeholder for ranged UUID type
select options getOperatorOptions should return UUID operators with placeholder for string UUID type ‑ select options getOperatorOptions should return UUID operators with placeholder for string UUID type
select options getOperatorOptions should return an empty array for unknown data type ‑ select options getOperatorOptions should return an empty array for unknown data type
select options getOperatorOptions should return boolean operators with placeholder ‑ select options getOperatorOptions should return boolean operators with placeholder
select options getOperatorOptions should return extended logical operators with placeholder for date type ‑ select options getOperatorOptions should return extended logical operators with placeholder for date type
select options getOperatorOptions should return extended logical operators with placeholder for integer type ‑ select options getOperatorOptions should return extended logical operators with placeholder for integer type
select options getOperatorOptions should return extended logical operators with placeholder for number type ‑ select options getOperatorOptions should return extended logical operators with placeholder for number type
select options getOperatorOptions should return operators with placeholder for array type ‑ select options getOperatorOptions should return operators with placeholder for array type
select options getOperatorOptions should return operators with placeholder for enum type ‑ select options getOperatorOptions should return operators with placeholder for enum type
select options getOperatorOptions should return operators with placeholder for jsonb array type ‑ select options getOperatorOptions should return operators with placeholder for jsonb array type
select options getOperatorOptions should return operators with placeholder for open UUID type ‑ select options getOperatorOptions should return operators with placeholder for open UUID type
select options getOperatorOptions should return string operators with placeholder ‑ select options getOperatorOptions should return string operators with placeholder
timezone query warning returns a warning for different timezones ‑ timezone query warning returns a warning for different timezones
timezone query warning returns no warning for [,null] ‑ timezone query warning returns no warning for [,null]
timezone query warning returns no warning for [,undefined] ‑ timezone query warning returns no warning for [,undefined]
timezone query warning returns no warning for [Narnia,Narnia] ‑ timezone query warning returns no warning for [Narnia,Narnia]
timezone query warning returns no warning for [Narnia,null] ‑ timezone query warning returns no warning for [Narnia,null]
timezone query warning returns no warning for [Narnia,undefined] ‑ timezone query warning returns no warning for [Narnia,undefined]
timezone query warning returns no warning for [null,null] ‑ timezone query warning returns no warning for [null,null]
timezone query warning returns no warning for [null,undefined] ‑ timezone query warning returns no warning for [null,undefined]
useAsyncDataSource should handle successful query execution ‑ useAsyncDataSource should handle successful query execution
valueBuilder should return a string enclosed in double quotes for ArrayType if value is a string ‑ valueBuilder should return a string enclosed in double quotes for ArrayType if value is a string
valueBuilder should return a string enclosed in double quotes for BooleanType ‑ valueBuilder should return a string enclosed in double quotes for BooleanType
valueBuilder should return a string enclosed in double quotes for DateType if value is truthy ‑ valueBuilder should return a string enclosed in double quotes for DateType if value is truthy
valueBuilder should return a string enclosed in double quotes for EnumType if value is a string ‑ valueBuilder should return a string enclosed in double quotes for EnumType if value is a string
valueBuilder should return a string enclosed in double quotes for ObjectType ‑ valueBuilder should return a string enclosed in double quotes for ObjectType
valueBuilder should return a string enclosed in double quotes for OpenUUIDType if operator is not IN or NOT_IN ‑ valueBuilder should return a string enclosed in double quotes for OpenUUIDType if operator is not IN or NOT_IN
valueBuilder should return a string enclosed in double quotes for RangedUUIDType if value is not an array ‑ valueBuilder should return a string enclosed in double quotes for RangedUUIDType if value is not an array
valueBuilder should return a string enclosed in double quotes for String with in operator ‑ valueBuilder should return a string enclosed in double quotes for String with in operator
valueBuilder should return a string enclosed in double quotes for StringType ‑ valueBuilder should return a string enclosed in double quotes for StringType
valueBuilder should return a string enclosed in double quotes for StringUUIDType if operator is not IN or NOT_IN ‑ valueBuilder should return a string enclosed in double quotes for StringUUIDType if operator is not IN or NOT_IN
valueBuilder should return a string enclosed in parentheses for ArrayType if value is an array and operator is IN ‑ valueBuilder should return a string enclosed in parentheses for ArrayType if value is an array and operator is IN
valueBuilder should return a string enclosed in parentheses for RangedUUIDType if value is an array ‑ valueBuilder should return a string enclosed in parentheses for RangedUUIDType if value is an array
valueBuilder should return an empty string if value is falsy for DateType ‑ valueBuilder should return an empty string if value is falsy for DateType
valueBuilder should return the original string for an invalid date ‑ valueBuilder should return the original string for an invalid date
valueBuilder should return the same value for IntegerType ‑ valueBuilder should return the same value for IntegerType
valueBuilder should return the same value for NumberType ‑ valueBuilder should return the same value for NumberType
Loading