Skip to content

Task/add badge component #137

Task/add badge component

Task/add badge component #137

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / UT Report succeeded Nov 30, 2023 in 0s

UT Report ✅

Tests passed successfully

✅ junit.xml

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

Test suite Passed Failed Skipped Time
MODULE | ActionCard 3✅ 37s
MODULE | Badge 3✅ 725ms
MODULE | Keyboard 5✅ 37s
MODULE | TextField 4✅ 37s

✅ 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 should display truncated number, when given number is greater than maxDigits
  ✅ MODULE | Badge should display truncated number, when given number is greater than maxDigits
MODULE | Badge should display entire number
  ✅ MODULE | Badge should display entire number
MODULE | Badge should display entire number, when given number size is smaller than maxDigits
  ✅ MODULE | Badge should display entire number, when given number size is smaller than maxDigits

✅ 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