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

[UBS Tariffs Page. Add new service "Послуга"] Digits and special characters must be allowed in Найменування послуги and Name of the service fields of the "Додати послгу" pop-up window #5783

Open BohdanaYuzkiv opened 1 year ago

BohdanaYuzkiv commented 1 year ago

Environment: Windows 10, Chroome Version 111.0.5563.65 Reproducible: always Build found: 13.05.2023

Preconditions

  1. The user should be authorized as Admin
  2. Main UBS menu -> page 'Тарифи' should be opened
  3. Click on the tariff card available from the list

Steps to reproduce

  1. Click on "Add service"/"Додати послугу" button
  2. Pay attention to the 'Name of the tariff' field
  3. Pay attention to the 'Найменування послуги' field

Actual result only letters are allowed

Expected result Letters, digits and special characters are allowed. From minimum 1 to maximum 30 characters are allowed.

User story and test case links User story #4429

Labels to be added "Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).

RudnevaOlena commented 1 year ago

The bug is still displayed, namely when numbers are at the start of "Найменування послуги" and when the special characters (* : ; ? " {} [] () % . !) are entered in the field "Найменування послуги".

Screenshot 2023-07-28 at 12 54 46 Screenshot 2023-07-28 at 12 54 00
Daria811 commented 3 months ago

Digits and special characters shouldn't be allowed to enter the 'Найменування послуги' and 'Name of the tariff' fields. But it must be allowed, according to the link. image