Test Plan - AvihaiMordechay/Itim_project GitHub Wiki

Test ID Test Description Pre-condition Test Steps Test Data (input) Expected Results Actual Results Pass / Fail
1 Landing Page Search Functionality 1. Database contains the Mikves data2. User is on the landing page 1. Enter a location in the search bar2. Click the search button "ירושלים" The map and list update to show Mikvehs in Jerusalem
2 Landing Page Search Functionality with Invalid Input 1. Database contains the Mikves data2. User is on the landing page 1. Enter an invalid location in the search bar2. Click the search button "אבגד" Previous displayed Mikvehs list resets, and an error message is shown
3 Filtering Options User is on the landing page with search results displayed 1. Select a filter option2. Apply the filter "בדיקת מים" filter The map and list update to show only Mikvehs that match the filter
4 More Details button User is on the landing page with search results displayed 1. Click on the "מידע נוסף" button of a Mikveh A popup window appears displaying extended Mikveh details
5 Map Functionality User has performed a valid search 1. Observe the map2. Click on a Mikveh marker Markers appear on the map for each Mikveh. Clicking a marker shows details
6 Admin Login 1. User has his email&password registered as an admin2. User is on the landing page 1. Click the admin login button2. Enter valid credentials and submit Username: "[email protected]"Password: "123123" User is redirected to the admin page upon successful login
7 Invalid Admin Login User is on the landing page 1. Click the admin login button2. Enter invalid credentials and submit Username: "[email protected]"Password: "123456" An error message appears informing the login attempt failed
8 Admin Page - Add Mikveh Admin is logged in and on the admin page 1. Click the add Mikveh button2. Fill in the Mikveh details3. Submit the form "שם המקווה": "בדיקה""עיר": "ירושלים""כתובת": "כתובת בדיקה" New Mikveh "בדיקה" and its details added to the database
9 Admin Page - Modify Mikveh Admin is logged in and on the admin page 1. Search for an existing Mikveh2. Modify the Mikveh details3. Submit the changes Modify "עיר" to "ירושלים" Mikveh details are updated in the database, admin list refreshes to show updated details
10 Admin Page - Delete Mikveh Admin is logged in and on the admin page 1. Search for an existing Mikveh2. Click the delete button3. Confirm deletion Mikveh is removed from the database, admin list refreshes to reflect removal
11 Admin Page - Mikvehs Data File Download Admin is logged in and on the admin page 1. Click on the "הורד קובץ נתוני מקוואות" button The admin's browser starts downloading the Excel file with Mikvehs data
12 Responsive Design for Chrome/Safari browsers Access the website on various devices/screen sizes 1. Load the landing page on a desktop, tablet, and mobile device2. Observe the layout and functionality Website layout adjusts appropriately for each screen size and device