mirror of
https://github.com/tiennm99/ai-coding-workflow-labs.git
synced 2026-09-17 00:21:52 +00:00
test(01): complete UAT - 10 passed, 0 issues
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
---
|
||||
status: complete
|
||||
phase: 01-bill-entry-assignment
|
||||
source: [01-01-SUMMARY.md, 01-02-SUMMARY.md, 01-03-SUMMARY.md, 01-04-SUMMARY.md, 01-05-SUMMARY.md]
|
||||
started: 2026-03-12T03:15:00Z
|
||||
updated: 2026-03-12T03:25:00Z
|
||||
---
|
||||
|
||||
## Current Test
|
||||
|
||||
[testing complete]
|
||||
|
||||
## Tests
|
||||
|
||||
### 1. Add a Person
|
||||
expected: Enter a name in the PersonForm input field and click Add (or press Enter). The person appears immediately in the PeopleList below. The input field clears after successful submission.
|
||||
result: pass
|
||||
|
||||
### 2. Add Another Person
|
||||
expected: Add a second person with a different name. Both people appear in the PeopleList.
|
||||
result: pass
|
||||
|
||||
### 3. Validation - Empty Person Name
|
||||
expected: Try to add a person with an empty name (just whitespace). An error message displays and no person is added.
|
||||
result: pass
|
||||
|
||||
### 4. Add an Item
|
||||
expected: Enter an item name (e.g., "Pizza") and price (e.g., "25.00") in the ItemForm. Click Add. The item appears in the ItemsList with the price formatted as currency (e.g., "$25.00").
|
||||
result: pass
|
||||
|
||||
### 5. Add Another Item
|
||||
expected: Add a second item with different name and price. Both items appear in the ItemsList with correct currency formatting.
|
||||
result: pass
|
||||
|
||||
### 6. Validation - Empty Item Name
|
||||
expected: Try to add an item with an empty name. An error message displays and no item is added.
|
||||
result: pass
|
||||
|
||||
### 7. Validation - Invalid Price
|
||||
expected: Try to add an item with an invalid price (empty, negative, or non-numeric). An error message displays and no item is added.
|
||||
result: pass
|
||||
|
||||
### 8. Assign Item to One Person
|
||||
expected: For an item in the ItemsList, check a checkbox next to a person's name. The item is now assigned to that person (checkbox stays checked).
|
||||
result: pass
|
||||
|
||||
### 9. Assign Item to Multiple People (Shared)
|
||||
expected: Check multiple checkboxes for an item. The item shows as assigned to multiple people (shared item).
|
||||
result: pass
|
||||
|
||||
### 10. Unassign Item from Person
|
||||
expected: Uncheck a previously checked checkbox. The assignment is removed for that person.
|
||||
result: pass
|
||||
|
||||
## Summary
|
||||
|
||||
total: 10
|
||||
passed: 10
|
||||
issues: 0
|
||||
pending: 0
|
||||
skipped: 0
|
||||
|
||||
## Gaps
|
||||
|
||||
[none]
|
||||
Reference in New Issue
Block a user