sshah135 / FunNstay

PRJ566 Course
0 stars 0 forks source link

User Story 6 - Getting user details #34

Closed sshah135 closed 11 months ago

sshah135 commented 1 year ago

Description: As a guest, I want to provide my personal details for room booking, ensuring that the information is accurate and meets validation criteria.

Acceptance Criteria:

The user is prompted to enter their full name, email address, phone number, and billing address. Validation ensures that the email address is in the correct format, and the phone number follows a valid structure. If any validation errors occur, clear error messages are displayed, guiding the user to correct the information. The system prevents the user from progressing to the next step until valid details are provided.

Testing Scenarios:

Enter a valid email address and phone number, ensuring that no validation errors occur. Enter an invalid email address (e.g., missing "@" symbol) and verify that the system displays an appropriate error message. Enter an invalid phone number (e.g., less than 10 digits) and check for the correct error message. Attempt to proceed without entering required information and verify that the system prevents progression.

sshah135 commented 11 months ago

Added all this feature to the page and all is working good