Toto je starší verze dokumentu!
Obsah
Testing Guide for the Administrative Section of the Pond Reservation System
1. Login
Test Case: Verify Login Functionality
Steps:
- Nečíslovaný seznamNavigate to the login page.
- Nečíslovaný seznamEnter valid credentials (username and password).
- Nečíslovaný seznamClick the „Login“ button.
Expected Result:
- Nečíslovaný seznamUser should be redirected to the dashboard.
- Nečíslovaný seznamThe system should display a welcome message.
Negative Test Cases:
- Nečíslovaný seznamEnter invalid credentials and verify that an error message is displayed.
- Nečíslovaný seznamLeave the username or password field empty and verify that appropriate validation messages are displayed.
2. Reservation List
Test Case: Verify Reservation List Display and Filtering
Steps:
- Nečíslovaný seznamNavigate to the reservation list page.
- Nečíslovaný seznamVerify that the list contains:
- Nečíslovaný seznamClient name
- Nečíslovaný seznamReserved spots
- Nečíslovaný seznamDate of reservation
- Nečíslovaný seznamButton to view the detail of the reservation
- Nečíslovaný seznamTest the filtering functionality:
- Nečíslovaný seznamUse the search field to filter reservations by client name.
- Nečíslovaný seznamUse the filter to sort reservations by type (e.g., individual, group).
- Nečíslovaný seznamUse the filter to sort reservations by status (e.g., new, confirmed, canceled).
- Nečíslovaný seznamUse the filter to sort reservations by date.
Expected Result:
- Nečíslovaný seznamThe reservation list should display all the necessary information.
- Nečíslovaný seznamFiltering should work correctly and update the list based on the applied filters.
3. Reservation Detail
Test Case: Verify Reservation Detail View and Actions
Steps:
- Nečíslovaný seznamFrom the reservation list, click on the „Detail“ button for a reservation.
- Nečíslovaný seznamVerify that the detail view includes all information about the reservation.
Check the status of the reservation:
- Nečíslovaný seznamIf the reservation is in the „New“ state, verify that the „Confirm“ button is enabled.
- Nečíslovaný seznamVerify that the „Decline“ button is available in all states except „Done“.
Confirm the reservation:
- Nečíslovaný seznamClick the „Confirm“ button.
- Nečíslovaný seznamVerify that the reservation status is updated to „Confirmed by owner“.
- Nečíslovaný seznamVerify that the customer is notified via email about the confirmation.
Decline the reservation:
- Nečíslovaný seznamClick the „Decline“ button.
- Nečíslovaný seznamEnter a note explaining the reason for the decline (optional).
- Nečíslovaný seznamConfirm the decline action.
- Nečíslovaný seznamVerify that the reservation status is updated to „Declined“.
- Nečíslovaný seznamVerify that the customer is notified via email about the decline, with the note included if provided.
Expected Result:
- Nečíslovaný seznamThe detail view should display all the information about the reservation.
- Nečíslovaný seznamThe „Confirm“ button should only be enabled for reservations in the „New“ state.
- Nečíslovaný seznamThe „Decline“ button should be available in all states except „Done“.
- Nečíslovaný seznamConfirming the reservation should update its status to „Confirmed by owner“ and notify the customer via email.
- Nečíslovaný seznamDeclining the reservation should update its status to „Declined“ and notify the customer via email, including any provided note.
4. Detail of Account
Test Case: Verify Account Detail View
Steps:
- Nečíslovaný seznamNavigate to the account detail page.
- Nečíslovaný seznamVerify that all fields are read-only and display the correct information about the logged-in account.
Expected Result:
All information about the logged-in account should be displayed correctly in read-only fields. 5. Advanced Pond Options Test Case: Verify Navigation to Advanced Pond Options
Steps:
Navigate to the advanced pond options page. Verify that there are three navigation options available: Create Event Create Reservation Pond Occupancy Expected Result:
The user should be able to navigate to „Create Event“, „Create Reservation“, and „Pond Occupancy“ from this page. 6. Create Event Test Case: Verify Event Creation Functionality
Steps:
Navigate to the „Create Event“ page. Enter the event details: Date of event Spots included in the event Name of event Save the event. Expected Result:
If there are existing reservations or events on the selected date, a modal should appear allowing the user to override them. If overridden, all clients whose reservations were canceled should receive a notification email. The event should be created successfully and listed in the system. 7. Create Reservation Test Case: Verify Manual Reservation Creation Functionality
Steps:
Navigate to the „Create Reservation“ page. Enter the reservation details: Client name Spots included in the reservation Email Phone number Date Save the reservation. Expected Result:
If there is an existing event or reservation on the selected date, a modal should appear allowing the user to override them. If overridden, all affected clients should receive a notification email. The reservation should be created successfully, the client should receive a confirmation email, and the reservation status should be „Confirmed by owner“. 8. Pond Occupancy Test Case: Verify Pond Occupancy Calendar
Steps:
Navigate to the „Pond Occupancy“ page. View the calendar and verify that it displays the occupancy status of all spots. Expected Result:
The calendar should correctly display which spots are occupied and indicate whether they are reserved or part of an event. 9. Logout Test Case: Verify Logout Functionality
Steps:
From any page, click on the menu button. Select „Logout“ from the menu options. Expected Result:
The user should be logged out successfully. The login screen should be displayed. The user should not have access to any administrative functionalities without logging in again.
