No Active Session
TERR TEST-TERR-002 UC: UC-10.2

Edit Territory Assignments

Userback Reference: Loading...

Prerequisites

  • User is logged in with data.system.territories.update permission
  • Territories page is loaded with existing data (UC-10.1)

Test Credentials

Role: Admin
Email: h.nguyen.test@circlemsp.com
Password: MyPassw0rd123!

Test Steps

# Action Expected Result Screenshot Result
1
On the Territories page, click to edit a territory row (inline editing)
The row enters inline edit mode with editable fields
-
2
Modify a field value (e.g., change the assigned rep)
The field value is updated in the inline editor
-
3
Tab away or click elsewhere to trigger auto-save via HTMX PATCH
The change is auto-saved and the row returns to display mode with the updated value
-
4
Reload the page and verify the changes persist
The updated territory data is still reflected after page reload
-
5
Introduce an invalid value in a territory field and tab away
A red flash error appears on the row indicating the validation failure
-

Acceptance Criteria