qa roles
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ASSURANCE_REPORT>
|
||||
<METADATA>
|
||||
<REPORT_ID>20250906_label_management_feature_qa_report</REPORT_ID>
|
||||
<FEATURE_NAME>Label Management Feature</FEATURE_NAME>
|
||||
<DESCRIPTION>
|
||||
This report details the implementation of the Label Management Feature,
|
||||
including creation, viewing, and editing of labels.
|
||||
It provides verification steps for the QA agent.
|
||||
</DESCRIPTION>
|
||||
<DATE>2025-09-06</DATE>
|
||||
<STATUS>Ready for QA</STATUS>
|
||||
</METADATA>
|
||||
|
||||
<AFFECTED_COMPONENTS>
|
||||
<COMPONENT path="domain/src/main/java/com/homebox/lens/domain/repository/ItemRepository.kt"/>
|
||||
<COMPONENT path="data/src/main/java/com/homebox/lens/data/repository/ItemRepositoryImpl.kt"/>
|
||||
<COMPONENT path="domain/src/main/java/com/homebox/lens/domain/usecase/GetLabelDetailsUseCase.kt"/>
|
||||
<COMPONENT path="app/src/main/java/com/homebox/lens/ui/screen/labeledit/LabelEditViewModel.kt"/>
|
||||
<COMPONENT path="app/src/main/java/com/homebox/lens/ui/screen/labeledit/LabelEditScreen.kt"/>
|
||||
<COMPONENT path="app/src/main/java/com/homebox/lens/ui/components/LoadingOverlay.kt"/>
|
||||
<COMPONENT path="app/src/main/java/com/homebox/lens/ui/components/ColorPicker.kt"/>
|
||||
<COMPONENT path="app/src/main/res/values/strings.xml"/>
|
||||
<COMPONENT path="app/src/main/java/com/homebox/lens/navigation/Screen.kt"/>
|
||||
<COMPONENT path="app/src/main/java/com/homebox/lens/navigation/NavGraph.kt"/>
|
||||
<COMPONENT path="app/src/main/java/com/homebox/lens/ui/screen/labelslist/LabelsListScreen.kt"/>
|
||||
</AFFECTED_COMPONENTS>
|
||||
|
||||
<VERIFICATION_STEPS>
|
||||
<PREREQUISITES>
|
||||
<STEP>Ensure the application is built and running on a device/emulator.</STEP>
|
||||
</PREREQUISITES>
|
||||
|
||||
<SCENARIO id="SCN_001" name="Create New Label">
|
||||
<STEP>Navigate to the Labels List screen.</STEP>
|
||||
<STEP>Tap the "Add" (plus) Floating Action Button.</STEP>
|
||||
<STEP>Verify that the "Create Label" screen appears.</STEP>
|
||||
<STEP>Enter a label name (e.g., "My New Label") and select a color using the color picker.</STEP>
|
||||
<STEP>Tap the "Save" button (check icon in top app bar).</STEP>
|
||||
<STEP>Verify that the new label appears in the Labels List.</STEP>
|
||||
</SCENARIO>
|
||||
|
||||
<SCENARIO id="SCN_002" name="Edit Existing Label">
|
||||
<STEP>Navigate to the Labels List screen.</STEP>
|
||||
<STEP>Tap on an existing label from the list.</STEP>
|
||||
<STEP>Verify that the "Edit Label" screen appears with the label's current name and color pre-filled.</STEP>
|
||||
<STEP>Modify the label name (e.g., "Updated Label") and/or color.</STEP>
|
||||
<STEP>Tap the "Save" button (check icon in top app bar).</STEP>
|
||||
<STEP>Verify that the label's changes are reflected in the Labels List.</STEP>
|
||||
</SCENARIO>
|
||||
|
||||
<SCENARIO id="SCN_003" name="Validation - Empty Label Name">
|
||||
<STEP>Navigate to the "Create Label" screen (via FAB).</STEP>
|
||||
<STEP>Leave the label name field empty.</STEP>
|
||||
<STEP>Tap the "Save" button.</STEP>
|
||||
<STEP>Verify that an error message "Label name cannot be empty." is displayed below the name input field.</STEP>
|
||||
<STEP>Verify that the label is NOT saved and the screen remains open.</STEP>
|
||||
</SCENARIO>
|
||||
|
||||
<SCENARIO id="SCN_004" name="Navigation">
|
||||
<STEP>From the Labels List screen, navigate to the "Create Label" screen.</STEP>
|
||||
<STEP>Tap the "Back" arrow in the top app bar.</STEP>
|
||||
<STEP>Verify that the app navigates back to the Labels List screen.</STEP>
|
||||
<STEP>From the Labels List screen, tap on an existing label to go to the "Edit Label" screen.</STEP>
|
||||
<STEP>Tap the "Back" arrow in the top app bar.</STEP>
|
||||
<STEP>Verify that the app navigates back to the Labels List screen.</STEP>
|
||||
</SCENARIO>
|
||||
</VERIFICATION_STEPS>
|
||||
</ASSURANCE_REPORT>
|
||||
Reference in New Issue
Block a user