powerpuffIntership / powerpuffIntershipBE

0 stars 1 forks source link

Safety system status - part 3 - notification for each reactor #5

Open joannapienko opened 1 month ago

joannapienko commented 1 month ago

As a user, I would like to be notified when each reactor's temperature exceeds safety limit, so that I can potentially plan an escape. As per design: https://www.figma.com/design/D09gXGjycBxsrXo1GwxsPO/Letnie-praktyki?node-id=18-74&t=xhqQOi4Gk170lS7i-4

ranges stays the same for core temp: x <250 critical 250 <= x < 400 out of range 400 <= x <800 in range 800<= x < 950 out of range x > 950 critica

hubertbojda commented 1 month ago

Test scenario:

Happy path:

  1. Give the page loads correctly.
  2. Give, the temperature is below 250 degrees
  3. Then we can see a notification bar which contains information about which reactor reached critical level.

    Happy path:

  4. Give the page loads correctly.
  5. Give, the temperature is higher or equal 250 and below 400 degrees
  6. Then we can see a notification bar which contains information about which reactor reached critical level.

    Happy path:

  7. Give the page loads correctly.
  8. Give, the temperature is higher or equal 400 and below 800 degrees
  9. Then the notification will not show

    Happy path:

  10. Give the page loads correctly.
  11. Give, the temperature is higher or equal 800 and below 950 degrees
  12. Then we can see a notification bar which contains information about which reactor reached critical level.

    Happy path:

  13. Give the page loads correctly.
  14. Give, the temperature is higher than 950 degrees
  15. Then we can see a notification bar which contains information about which reactor reached critical level.

    Unhappy path

  16. Give not correctly loaded page

    Unhappy path

  17. Give the page loads correctly.
  18. Give, the temperature is equal 950 degrees
  19. Then apllication doesn't know what is a state when temperatrue is equal 950 degrees.

    Unhappy path

  20. Give the page loads correctly.
  21. Give, temperature os out of range or critical
  22. Then we can see notification of not correctly reactor

    Unhappy path

  23. Give the page loads correctly
  24. Give temperature degrees have been badly rounded
  25. Then we can see notification about not correctly state of reactor

    Unhappy path

  26. Give the page loads correctly
  27. Give, error notification about lost connection do database