BinaryStudioAcademy / bsa-2023-towhub

1 stars 12 forks source link

Bug: The Name field on the Order form does not accept space as valid symbol #356

Open OlenaCherneta opened 1 year ago

OlenaCherneta commented 1 year ago

Preconditions:

  1. User is not logged in
  2. The Order form is opened

Steps to reproduce:

  1. Fill all the form fields with valid data except the Name field
  2. Fill the Name field with data that contains space (f.e. Bill Clinton)
  3. Click OK on the GoogleMaps errors
  4. Click on the Order button
  5. Pay attention to the validation warning

Actual result

The Name field on the Order form does not accept values with space as valid. The customer cannot place the order.

Expected result

The Name field on the Order form accepts values with space as valid. The customer can place the order.

Environment:

Windows 10 Pro x64, Google Chrome v. 117.0.5938.89

Attachment (see below)

https://github.com/BinaryStudioAcademy/bsa-2023-towhub/assets/75045481/a85a1df8-35f3-4f79-92a5-c43907f9ee33