GitHub Actions / UT Report
succeeded
Mar 12, 2024 in 0s
UT Report ✅
✅ junit.xml
77 tests were completed in 39s with 77 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ComputeCrementedValue | 14✅ | 18s | ||
MODULE | ActionCard | 3✅ | 1s | ||
MODULE | Badge | 3✅ | 860ms | ||
MODULE | DateField | 8✅ | 13s | ||
MODULE | DateSelector | 7✅ | 37s | ||
MODULE | Keyboard | 5✅ | 19s | ||
MODULE | TextField | 4✅ | 1s | ||
NumberValidator | 24✅ | 7s | ||
TopAppBar mounting with a simple title | 9✅ | 16s |
✅ ComputeCrementedValue
ComputeCrementedValue should correctly compute the incremented value within the validator limits
✅ ComputeCrementedValue should correctly compute the incremented value within the validator limits
ComputeCrementedValue should not exceed the max value of the validator
✅ ComputeCrementedValue should not exceed the max value of the validator
ComputeCrementedValue should not go below the min value of the validator
✅ ComputeCrementedValue should not go below the min value of the validator
ComputeCrementedValue should not brake with a zero initial value on increment
✅ ComputeCrementedValue should not brake with a zero initial value on increment
ComputeCrementedValue should not brake with a zero initial value on decrement
✅ ComputeCrementedValue should not brake with a zero initial value on decrement
ComputeCrementedValue should correctly compute the incremented value within the validator limits for decimals
✅ ComputeCrementedValue should correctly compute the incremented value within the validator limits for decimals
ComputeCrementedValue should correctly compute the two steps incremented value within the validator limits for decimals
✅ ComputeCrementedValue should correctly compute the two steps incremented value within the validator limits for decimals
ComputeCrementedValue should correctly compute the two steps incremented value within the validator limits for decimals with decimal max
✅ ComputeCrementedValue should correctly compute the two steps incremented value within the validator limits for decimals with decimal max
ComputeCrementedValue should correctly compute the decremented value within the validator limits for decimals
✅ ComputeCrementedValue should correctly compute the decremented value within the validator limits for decimals
✅ ComputeCrementedValue should correctly compute the decremented value within the validator limits for decimals
ComputeCrementedValue should correctly compute the two steps decremented value within the validator limits for decimals
✅ ComputeCrementedValue should correctly compute the two steps decremented value within the validator limits for decimals
ComputeCrementedValue should correctly compute the two steps decremented value within the validator limits for decimals with decimal min
✅ ComputeCrementedValue should correctly compute the two steps decremented value within the validator limits for decimals with decimal min
ComputeCrementedValue should not exceed the max value of the validator for decimals
✅ ComputeCrementedValue should not exceed the max value of the validator for decimals
ComputeCrementedValue should not go below the min value of the validator for decimals
✅ ComputeCrementedValue should not go below the min value of the validator for decimals
✅ MODULE | ActionCard
MODULE | ActionCard component renders correctly
✅ MODULE | ActionCard component renders correctly
MODULE | ActionCard component renders correctly in disabled state
✅ MODULE | ActionCard component renders correctly in disabled state
MODULE | ActionCard fires callback on button press
✅ MODULE | ActionCard fires callback on button press
✅ MODULE | Badge
MODULE | Badge Given a `number` should display it
✅ MODULE | Badge Given a `number` should display it
MODULE | Badge Given a `number` and a `maxDigits` greater than number's total digit should display a truncated `number`
✅ MODULE | Badge Given a `number` and a `maxDigits` greater than number's total digit should display a truncated `number`
MODULE | Badge Given a `number` and a `maxDigits` smaller or equal than number's total digit' should display the entire `number`
✅ MODULE | Badge Given a `number` and a `maxDigits` smaller or equal than number's total digit' should display the entire `number`
✅ MODULE | DateField
MODULE | DateField component renders correctly in empty mode
✅ MODULE | DateField component renders correctly in empty mode
MODULE | DateField component renders correctly empty focused state
✅ MODULE | DateField component renders correctly empty focused state
MODULE | DateField component renders correctly filled focused state
✅ MODULE | DateField component renders correctly filled focused state
MODULE | DateField component renders correctly filled unfocused state
✅ MODULE | DateField component renders correctly filled unfocused state
MODULE | DateField component renders correctly in error state
✅ MODULE | DateField component renders correctly in error state
MODULE | DateField fires callback when on input value change
✅ MODULE | DateField fires callback when on input value change
MODULE | DateField shouldnt send more than 2 characters
✅ MODULE | DateField shouldnt send more than 2 characters
MODULE | DateField shouldnt accept non number characters
✅ MODULE | DateField shouldnt accept non number characters
✅ MODULE | DateSelector
MODULE | DateSelector component renders correctly with prefilled values in DD/MM/YY
✅ MODULE | DateSelector component renders correctly with prefilled values in DD/MM/YY
MODULE | DateSelector should send date filled with missing fields
✅ MODULE | DateSelector should send date filled with missing fields
MODULE | DateSelector should send date filled with all changed fields
✅ MODULE | DateSelector should send date filled with all changed fields
MODULE | DateSelector should prefix date fields with a 0 on blur
✅ MODULE | DateSelector should prefix date fields with a 0 on blur
MODULE | DateSelector should not cast invalid date into a valid one
✅ MODULE | DateSelector should not cast invalid date into a valid one
MODULE | DateSelector error should display an error message if not focused
✅ MODULE | DateSelector error should display an error message if not focused
MODULE | DateSelector error should not display an error message if a field is focused
✅ MODULE | DateSelector error should not display an error message if a field is focused
✅ MODULE | Keyboard
MODULE | Keyboard component renders correctly
✅ MODULE | Keyboard component renders correctly
MODULE | Keyboard return undefined if there is no focused input provided
✅ MODULE | Keyboard return undefined if there is no focused input provided
MODULE | Keyboard sets the value on numeric button press
✅ MODULE | Keyboard sets the value on numeric button press
MODULE | Keyboard deletes the value on delete button press
✅ MODULE | Keyboard deletes the value on delete button press
MODULE | Keyboard fires callback onSubmit press
✅ MODULE | Keyboard fires callback onSubmit press
✅ MODULE | TextField
MODULE | TextField component renders correctly
✅ MODULE | TextField component renders correctly
MODULE | TextField component renders correctly with bottom text
✅ MODULE | TextField component renders correctly with bottom text
MODULE | TextField component renders correctly when textType in error state
✅ MODULE | TextField component renders correctly when textType in error state
MODULE | TextField fires callback when on input value change
✅ MODULE | TextField fires callback when on input value change
✅ NumberValidator
NumberValidator Decimal is true allowNegatives should return true when minValue is less than 0
✅ NumberValidator Decimal is true allowNegatives should return true when minValue is less than 0
NumberValidator Decimal is true allowNegatives should return false when minValue is not less than 0
✅ NumberValidator Decimal is true allowNegatives should return false when minValue is not less than 0
NumberValidator Decimal is true validateFormat should return true for valid integer numbers
✅ NumberValidator Decimal is true validateFormat should return true for valid integer numbers
NumberValidator Decimal is true validateFormat should return false for invalid numbers
✅ NumberValidator Decimal is true validateFormat should return false for invalid numbers
NumberValidator Decimal is true validateMinMax should return true for valid numbers
✅ NumberValidator Decimal is true validateMinMax should return true for valid numbers
NumberValidator Decimal is true validateMinMax should return false for numbers out of range
✅ NumberValidator Decimal is true validateMinMax should return false for numbers out of range
NumberValidator Decimal is true validateMinMax should return true for negative numbers when allowed
✅ NumberValidator Decimal is true validateMinMax should return true for negative numbers when allowed
NumberValidator Decimal is true validateMinMax should return false for negative numbers when out of range
✅ NumberValidator Decimal is true validateMinMax should return false for negative numbers when out of range
NumberValidator Decimal is true validateMinMax should return true for undefined text
✅ NumberValidator Decimal is true validateMinMax should return true for undefined text
NumberValidator Decimal is true validateMinMax should return true for "-" when negatives are allowed
✅ NumberValidator Decimal is true validateMinMax should return true for "-" when negatives are allowed
NumberValidator Decimal is true validateMinMax should return false for "-" when negatives are not allowed
✅ NumberValidator Decimal is true validateMinMax should return false for "-" when negatives are not allowed
NumberValidator Decimal is false allowNegatives should return true when minValue is less than 0
✅ NumberValidator Decimal is false allowNegatives should return true when minValue is less than 0
NumberValidator Decimal is false allowNegatives should return false when minValue is not less than 0
✅ NumberValidator Decimal is false allowNegatives should return false when minValue is not less than 0
NumberValidator Decimal is false validateFormat should return true for valid integer numbers
✅ NumberValidator Decimal is false validateFormat should return true for valid integer numbers
NumberValidator Decimal is false validateFormat should return false for invalid numbers
✅ NumberValidator Decimal is false validateFormat should return false for invalid numbers
NumberValidator Decimal is false validateMinMax should return true for valid numbers
✅ NumberValidator Decimal is false validateMinMax should return true for valid numbers
NumberValidator Decimal is false validateMinMax should return false for numbers out of range
✅ NumberValidator Decimal is false validateMinMax should return false for numbers out of range
NumberValidator Decimal is false validateMinMax should return true for negative numbers when allowed
✅ NumberValidator Decimal is false validateMinMax should return true for negative numbers when allowed
NumberValidator Decimal is false validateMinMax should return false for negative numbers when out of range
✅ NumberValidator Decimal is false validateMinMax should return false for negative numbers when out of range
NumberValidator Decimal is false validateMinMax should return true for undefined text
✅ NumberValidator Decimal is false validateMinMax should return true for undefined text
NumberValidator Decimal is false validateMinMax should return true for "-" when negatives are allowed
✅ NumberValidator Decimal is false validateMinMax should return true for "-" when negatives are allowed
NumberValidator Decimal is false validateMinMax should return false for "-" when negatives are not allowed
✅ NumberValidator Decimal is false validateMinMax should return false for "-" when negatives are not allowed
NumberValidator Decimal validator validateFormat should return true for valid decimal numbers
✅ NumberValidator Decimal validator validateFormat should return true for valid decimal numbers
NumberValidator integer validator validateFormat should return false for valid decimal numbers
✅ NumberValidator integer validator validateFormat should return false for valid decimal numbers
✅ TopAppBar mounting with a simple title
TopAppBar mounting with a simple title displays a title
✅ TopAppBar mounting with a simple title displays a title
TopAppBar mounting with a simple title testing menu title 'as string' on press
✅ TopAppBar mounting with a simple title testing menu title 'as string' on press
TopAppBar mounting with a title by passing a custom component displays a title
✅ TopAppBar mounting with a title by passing a custom component displays a title
TopAppBar mounting with a title by passing a custom component testing menu title 'as component' on press
✅ TopAppBar mounting with a title by passing a custom component testing menu title 'as component' on press
TopAppBar mounting with a go back button triggers `goBack` event when user press the go back button
✅ TopAppBar mounting with a go back button triggers `goBack` event when user press the go back button
TopAppBar mounting with a menu displays action menu button
✅ TopAppBar mounting with a menu displays action menu button
TopAppBar mounting with a menu displays menu items when user press the action menu button
✅ TopAppBar mounting with a menu displays menu items when user press the action menu button
TopAppBar mounting with a menu retrieves menu item data when user press a menu item
✅ TopAppBar mounting with a menu retrieves menu item data when user press a menu item
TopAppBar mounting with a menu hides menu when user press a menu item
✅ TopAppBar mounting with a menu hides menu when user press a menu item
Loading