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] [Order] An error message is shown on the "New address" page if letters are entered in the "Entrance" field #7023

Open OlenaKhita opened 6 months ago

OlenaKhita commented 6 months ago

Environment: Windows 10 Pro Google Chrome 109.0.5414.168. Reproducible: always Build found: 15/03/2024

Preconditions

  1. User_1 is logged in
  2. "UBS Courier" page is opened
  3. User_1's order details are filled with valid data

Steps to reproduce

  1. Go to the "Personal data" block on the "UBS Courier" page
  2. Scroll to the "Garbage collection address" block
  3. Click on "Add another address"/"Add address" bttn
  4. Fill the field in "New address" window with valid data
  5. Enter any letter in the "Entrance" field

Actual result An error message "Only numbers are allowed" is shown under "Entrance" field. However, the "Add address" button becomes active. The user is allowed to create this address Screenshot_45

Expected result An error message "Only numbers are allowed" isn't shown under "Entrance" field if user add letters in the field.

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

snezhanapravdyuk commented 3 months ago

An error message "Only numbers are allowed" is shown under "Entrance" field if user add letters in the field.

snezhanapravdyuk commented 3 months ago

изображение