From 99bf78d4489034ead3e2d3a749ac38d41955345e Mon Sep 17 00:00:00 2001 From: blackpanther9229 Date: Thu, 7 Nov 2024 23:43:10 +0800 Subject: [PATCH 1/2] Update manual testing guide for addtag command --- docs/DeveloperGuide.md | 16 ++++++++++++++++ docs/UserGuide.md | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index e0738e6c87b..1b35cf7e006 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -559,6 +559,22 @@ testers are expected to do more *exploratory* testing. 1. _{ more test cases …​ }_ +### Adding a tag +1. Deleting a tag while all tags are being shown + 1. Prerequisites: There are 2 person in the list. First person on the list has tag `CS2100`, second person has tags `floortball` and `friends`. + 1. Test case: `addtag 1 t/CS2040S`
+ Expected: The first person now has 2 tags `CS2100` and `CS2040S`. The tag lists are updated accordingly. + 1. Test case: `addtag 2 t/homie t/homie` + Expected: The second person now has 3 tags `floortball`, `friends` and `homie`. + 1. With the following test case: + 1. `addtag 1 t/CS2040s` + 1. Test case: `addtag 1 t/CS2030s t/CS2040S` + 1. Test case: `addtag 0 t/volleyball`
+ 1. Test case: `addtag 3 t/homie`
+ 1. Test case: `addtag 2`
+ Expected: No new tag added. Error details shown in the status message. All status bar remain the same. + + ### Saving data 1. Dealing with missing/corrupted data files diff --git a/docs/UserGuide.md b/docs/UserGuide.md index dc4fb517ccc..65ce71ac60d 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -88,7 +88,7 @@ Action | Format, Examples **Find by contact information** | `find PREFIX/KEYWORD [PREFIX/MORE_KEYWORDS]…​`
e.g., `find n/James t/floorball` **Delete tag** | `deltag INDEX t/KEYWORD`
e.g. `deltag 1 t/friend` **Add tag** | `addtag INDEX t/KEYWORD [t/MORE_TAGS]…​`
e.g. `addtag 1 t/friend t/classmate` -**Categorize tag** | `cattag t/TAG [t/MORE_TAGS…​] CATEGORY`
e.g. `cattag t/floorball t/mahjong activity` +**Categorize tag** | `cattag t/TAG [t/MORE_TAGS…]​ CATEGORY`
e.g. `cattag t/floorball t/mahjong activity` **Undo action** | `undo` **Redo action** | `redo` **List** | `list` From 65591146ff3741a0bb522cf1a2c080ffff0aa8a3 Mon Sep 17 00:00:00 2001 From: CHEN YIXUN <138369841+CYX22222003@users.noreply.github.com> Date: Sun, 10 Nov 2024 16:57:13 +0800 Subject: [PATCH 2/2] Update DeveloperGuide.md remove traces of status bar --- docs/DeveloperGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 11db064df1c..c93c2ac55b6 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -605,7 +605,7 @@ testers are expected to do more *exploratory* testing. 1. Test case: `addtag 0 t/volleyball`
1. Test case: `addtag 3 t/homie`
1. Test case: `addtag 2`
- Expected: No new tag added. Error details shown in the status message. All status bar remain the same. + Expected: No new tag added. Error details shown in the status message.. ### Finding a person