hotelReservation

hotelReservation test case
mail@pastecode.io avatar
unknown
plain_text
3 years ago
2.7 kB
12
Indexable
Never
1. Find and reserve a room
2. See my reservations
3. Create an account
4. Admin
5. Exit
Please select a number for the menu option
4
1. See all Customers
2. See all Rooms
3. See all Reservations
4. Add a Room
5. Back to Main Menu
Please select a number for the menu option
4
Add a room
Enter room number
1
Enter price per night
100
Enter room type: 1-single bed  2-double bed
1
Would you like to add another room? y/n
Would you like to add another room? y/n
n
1. See all Customers
2. See all Rooms
3. See all Reservations
4. Add a Room
5. Back to Main Menu
Please select a number for the menu option
5
1. Find and reserve a room
2. See my reservations
3. Create an account
4. Admin
5. Exit
Please select a number for the menu option
1
Enter CheckIn Date mm/dd/yyyy example 02/01/2020
01/01/2021
Enter CheckOut Date mm/dd/yyyy example 02/01/2020
01/02/2021
RoonNumber: 1; Price: 100.0; RoomType: SINGLE
Would you like to book a room? y/n
y
Do you have an account with us? y/n
n
Please enter your email
1@1.com
Please enter your firstName
z
Please enter your lastName
z
Enter Email Format: name@domain.com
1@1.com
What room number would you like to reserve
1
This room has been reserved.
Customer: Name: z z. Email: 1@1.com.. Room: RoonNumber: 1; Price: 100.0; RoomType: SINGLECheckInDate: Fri Jan 01 00:00:00 CST 2021. CheckOutDate: Sat Jan 02 00:00:00 CST 2021
1. Find and reserve a room
2. See my reservations
3. Create an account
4. Admin
5. Exit
Please select a number for the menu option
1
Enter CheckIn Date mm/dd/yyyy example 02/01/2020
01/01/2021
Enter CheckOut Date mm/dd/yyyy example 02/01/2020
01/02/2021
Sorry, there are no rooms available for your chosen date, we recommand you to delay your checkInDate/checkOutDate for 7 days and check the following rooms, select 'y' if you accept
RoonNumber: 1; Price: 100.0; RoomType: SINGLE
Would you like to book a room? y/n
y
Do you have an account with us? y/n
n
Please enter your email
2@2.com
Please enter your firstName
c
Please enter your lastName
c
Enter Email Format: name@domain.com
2@2.com
What room number would you like to reserve
1
This room has been reserved.
Customer: Name: c c. Email: 2@2.com.. Room: RoonNumber: 1; Price: 100.0; RoomType: SINGLECheckInDate: Fri Jan 08 00:00:00 CST 2021. CheckOutDate: Sat Jan 09 00:00:00 CST 2021
1. Find and reserve a room
2. See my reservations
3. Create an account
4. Admin
5. Exit
Please select a number for the menu option
1
Enter CheckIn Date mm/dd/yyyy example 02/01/2020
01/01/2021
Enter CheckOut Date mm/dd/yyyy example 02/01/2020
01/02/2021
RoonNumber: 1; Price: 100.0; RoomType: SINGLE
Would you like to book a room? y/n