iahmad9 / hotelbooking-tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Booking is successful even with special characters or spaces in First Name field

iahmad9 opened this issue · comments

Description: It is possible to create a booking with invalid characters in First Name e.g. special characters or spaces only.

Steps to Reproduce:

  1. Launch the browser and navigate to http://hotel-test.equalexperts.io
  2. Enter First name "Bob!~^%" without qoutes and valid input for rest of the fields.
  3. Click the save button
  4. Repeat the Steps 1 to 3 with First Name containing only Spaces " "

Observe that Booking is successfully created with special characters

Expected Results: An error message is displayed indicating invalid characters are present in First Name field and booking should not be created

Actual Results: Booking is successfully created.

Environment:
Application under Test version: xxxx
Chrome Browser: Version 66.0.3359.181 (Official Build) (64-bit)
Firefox Browser: version 60.0.1 (64-bit)
Host Machine: OSX High Seirra

Screenshot:

image