ita-social-projects / GreenCity

The main aim of “GreenCity” project is to teach people in a playful and challenging way to have an eco-friendly lifestyle. A user can view on the map places that have some eco-initiatives or suggest discounts for being environmentally aware (for instance, coffee shops that give a discount if a customer comes with their own cup). А user can start doing an environment-friendly habit and track their progress with a habit tracker.
MIT License
65 stars 80 forks source link

[Pricing card. Add a service] User can choose negative value by using spinner in "Додати сервіс" menu #4844

Open Oryshchakb opened 1 year ago

Oryshchakb commented 1 year ago

Environment: Google Chrome Версія 107.0.5304.88 (64-розрядна версія); Windows 10 Pro. Reproducible: always.

Preconditions The user should be logged in as a Super Admin Go to https://www.testgreencity.ga/GreenCityClient/#/ubs-admin/tariffs Main UBS menu - page 'Тарифи' should be opened. Go to any existing card

Steps to reproduce

  1. Click on "Додати послугу"
  2. In fields "Об'єм", "Комісія", "Базова вартість" pay attention to spinner

Actual result User have ability to choose negative value

image

Expected result User have no ability to choose negative value

User story and test case links E.g.: "User story #4428

Labels to be added "Bug"

DanaIuich commented 1 year ago

After entering negative value in the fields "Об'єм", "Комісія", "Базова вартість" error messages about the impossibility of entering a negative value doesn't appear.

No-error_messages