3 | | * Restaurant Owner: Users who owns a restaurant. They can do modifications on their restaurants menu’s, items, their prices. Management of their own restaurants |
4 | | * Delivery man: Users who are responsible for delivering orders assigned to them. They are assigned by the delivery firm. |
5 | | * Customer: User who has an overview of all the restaurants and their menus. Once signed in, they can order items and leave reviews. |
6 | | * Super user: Owner of the application |
| 3 | * **Restaurant Owner**: Users who owns a restaurant. They can do modifications on their restaurants menu’s, items, their prices. Management of their own restaurants |
| 4 | * **Delivery man**: Users who are responsible for delivering orders assigned to them. They are assigned by the delivery firm. |
| 5 | * **Customer**: User who has an overview of all the restaurants and their menus. Once signed in, they can order items and leave reviews. |
| 6 | * **Super user**: Owner of the application |
| 7 | \\ |
| 8 | ==== Scenarios |
| 9 | 1. **Login** |
| 10 | * Actors: User (Restaurant Owner, Delivery Man, Customer) |
| 11 | * Steps: |
| 12 | 1. User presses the login button |
| 13 | 2. Displays a login form |
| 14 | 3. User fills the necessary fields |
| 15 | 4. After successful log, the home page is displayed |
| 16 | \\ |
| 17 | 2. **Register for the Customer** |
| 18 | * Actors: Customer |
| 19 | * Steps: |
| 20 | 1. The user clicks to the register button |
| 21 | 2. Displays a registration for, |
| 22 | 3. User fills the necessary fields |
| 23 | 4. After the successful registration, the home page is displayed |
| 24 | \\ |
| 25 | 3. **Register for the Delivery Man** |
| 26 | * Actors: Delivery Man |
| 27 | * Steps: |
| 28 | 1. The credentials are provided by the delivery firm. |
| 29 | 2. The delivery man should log in with the given mail and password. |
| 30 | \\ |
| 31 | 4. **Register for the Restaurant Owner** |
| 32 | * Actors: Restaurant Owner |
| 33 | * Steps: |
| 34 | 1. Clicks to the register button |
| 35 | 2. A registration page opens |
| 36 | 3. Clicks to the register as a restaurant button |
| 37 | 4. Instruction page opens with a mail section |
| 38 | 5. After uploading the necessary files, receives credentials |
| 39 | 6. Log in with the credentials - - - |
| 40 | 7. After the successful registration, the home page is displayed |
| 41 | \\ |
| 42 | 5. **Browse the site** |
| 43 | * Actors: Customer |
| 44 | * Steps: |
| 45 | 1. Clicks on the search bar |
| 46 | 2. Searches name of a restaurant or an item |
| 47 | 3. Applies extra filters if needed |
| 48 | 4. After clicking the enter, items and restaurants according to the search will appear |
| 49 | \\ |
| 50 | 6. **Place an order** |
| 51 | * Actors: Customer |
| 52 | * Steps: |
| 53 | 1. Clicks on the desired item |
| 54 | 2. Clicks on the add to the basket button |
| 55 | 3. Selects the amount |
| 56 | 4. Clicks on the confirm button |
| 57 | 5. Clicks on the basket button |
| 58 | 6. Clicks on the place the order |
| 59 | 7. Enters the address or choose the address if he/she has ordered before |
| 60 | 8. Selects the payment method |
| 61 | 9. Makes the payment |
| 62 | 10. Enters notes if needed |
| 63 | 11. Clicks order |
| 64 | \\ |
| 65 | 7. **View my food orders** |
| 66 | * Actors: Customer |
| 67 | * Steps: |
| 68 | 1. Clicks on my orders button |
| 69 | 2. A page with all past and active orders will appear |
| 70 | 3. On click of the order, details will show |
| 71 | \\ |
| 72 | 8. **Add Restaurant** |
| 73 | * Actors: Super user |
| 74 | * Steps: |
| 75 | 1. Clicks on the notifications button |
| 76 | 2. Sees the request to add a new restaurant |
| 77 | 3. Checks the files |
| 78 | 4. Clicks on add a new restaurant |
| 79 | 5. A form appears |
| 80 | 6. Fills in the necessary information |
| 81 | 7. Clicks confirm |
| 82 | \\ |
| 83 | 9. **Edit Restaurant** |
| 84 | * Actors: Super user |
| 85 | * Steps: |
| 86 | 1. Clicks on the restaurant he/she wants to edit |
| 87 | 2. Editing tab appears |
| 88 | 3. Changes the needed parts |
| 89 | 4. Clicks confirm |
| 90 | \\ |
| 91 | 10. **Delete Restaurant** |
| 92 | * Actors: Super user |
| 93 | * Steps: |
| 94 | 1. Clicks on the restaurant he/she wants to delete |
| 95 | 2. Edit page opens |
| 96 | 3. Scrolls to the bottom |
| 97 | 4. Clicks delete restaurant button |
| 98 | 5. Confirms |
| 99 | \\ |
| 100 | 11. **Manage restaurant's menu (items) ** |
| 101 | * Actors: Restaurant owner |
| 102 | * Steps: |
| 103 | 1. Clicks on the edit menu button |
| 104 | 2. Changes the needed parts |
| 105 | 3. Clicks confirm |
| 106 | \\ |
| 107 | 12. **View menu of a restaurant** |
| 108 | * Actors: Customer |
| 109 | * Steps: |
| 110 | 1. Clicks on a restaurant |
| 111 | 2. Restaurants page opens |
| 112 | 3. Scrolls down to the items |
| 113 | \\ |
| 114 | 13. **Manage profile** |
| 115 | * Actors: User (Customer, Delivery Man, Restaurant Owner) |
| 116 | * Steps: |
| 117 | 1. Clicks on the profile icon |
| 118 | 2. A page with the profile settings opens |
| 119 | 3. Clicks to the settings he/she wants to change |
| 120 | 4. Clicks confirm |
| 121 | \\ |
| 122 | 14. **Receive orders** |
| 123 | * Actors: Customer, Restaurant Owner |
| 124 | * Steps: |
| 125 | 1. Customer sets an order |
| 126 | 2. Restaurant owner receives the order |
| 127 | 3. Restaurant owner accepts the order |
| 128 | \\ |
| 129 | 15. **Comment** |
| 130 | * Actors: Customer |
| 131 | * Steps: |
| 132 | 1. The order delivers |
| 133 | 2. Receives message asking for rating |
| 134 | 3. Selects the ratings |
| 135 | 4. Confirms |
| 136 | \\ |
| 137 | 16. **Update order status ** |
| 138 | * Actors: User (Customer, Delivery Man, Restaurant Owner) |
| 139 | * Steps: |
| 140 | 1. Restaurant owner receives an order |
| 141 | 2. Restaurant owner changes the status of the order to being prepared |
| 142 | 3. Restaurant owner changes the status of the order to being delivered |
| 143 | 4. Delivery man changes the status of the order to delivered |
| 144 | \\ |
| 145 | 17. **Track performance ** |
| 146 | * Actors: Restaurant Owner |
| 147 | * Steps: |
| 148 | 1. Clicks to the see performance |
| 149 | 2. Clicks on current performance |
| 150 | 3. Page with the information about the restaurants performance opens |
| 151 | \\ |
| 152 | 18. **Accept Delivery** |
| 153 | * Actors: Restaurant Owner, Delivery Man |
| 154 | * Steps: |
| 155 | 1. Customer sets an order |
| 156 | 2. Delivery man gets request for the delivery |
| 157 | 3. Delivery man accepts the request |
| 158 | 4. Delivery man receives the navigation |
| 159 | \\ |
| 160 | 19. **Navigate to restaurant and customer ** |
| 161 | * Actors: Delivery Man |
| 162 | * Steps: |
| 163 | 1. Receives a delivery |
| 164 | 2. Clicks to the map - |
| 165 | 3. Receives a map with the directions |
| 166 | \\ |
| 167 | 20. **Earnings and history** |
| 168 | * Actors: Restaurant Owner |
| 169 | * Steps: |
| 170 | 1. Clicks on see performance |
| 171 | 2. Clicks on see history |
| 172 | 3. Selects the dates |
| 173 | 4. Information about the earnings and spendings of that time frame appears |
| 174 | \\ |
| 175 | 21. **Manage Users** |
| 176 | * Actors: Super user |
| 177 | * Steps: |
| 178 | 1. Click to the users |
| 179 | 2. A page with all users appears |
| 180 | 3. Clicks on the user he/she wants to edit |
| 181 | 4. An edit page appears |
| 182 | 5. Does the needed changes |
| 183 | 6. Clicks confirm |
| 184 | \\ |
| 185 | 22. **Manage deliveries** |
| 186 | * Actors: Super user |
| 187 | * Steps: |
| 188 | 1. Click to the deliveries |
| 189 | 2. A page with all deliveries appears |
| 190 | 3. Clicks on the delivery he/she wants to edit |
| 191 | 4. An edit page appears |
| 192 | 5. Does the needed changes |
| 193 | 6. Clicks confirm |
| 194 | \\ |