Partners Portal (LVD) — Account Settings Module Acceptance Tests¶
Test series: LVD-SET-01 to LVD-SET-09
Objective: Validate that a partner user can view account and organization information, edit their profile, upload a profile photo, change their password, and receive the correct validation and success/error messages.
Execution ownership¶
Recommended owners: Partner/Company users; LVD business owner; Customer Service observer
Prerequisites: A signed-in partner session, a profile with and without a photo, and controlled profile and password data in the UAT environment.
Execution control
Use approved UAT data only. Mask personal, authentication, and payment information in screenshots and attachments.
Feature overview¶
The Account Settings module at /settings manages the signed-in partner's account information:
- Profile Information tab showing the profile header card, contact/location details, and organization details.
- Edit Profile with editable full name, phone, and profile photo, plus Save and Cancel actions.
- Profile photo upload with format and size validation.
- Security tab with a Change Password form (old password, new password, confirmation).
- Validation rules on the profile and password forms and success/error notifications for updates and uploads.
The Security tab contains the Change Password form only; no other security settings are implemented.
Coverage summary¶
| Test ID | Feature | Scenario | Priority |
|---|---|---|---|
| LVD-SET-01 | Navigation | Page access and flow | Critical |
| LVD-SET-02 | Profile Information | Display and read-only data | High |
| LVD-SET-03 | Edit Profile | Edit, save and cancel | Critical |
| LVD-SET-04 | Edit Profile | Validation rules | High |
| LVD-SET-05 | Profile Photo | Upload and validation | Medium |
| LVD-SET-06 | Change Password | Update account password | Critical |
| LVD-SET-07 | Change Password | Validation rules | High |
| LVD-SET-08 | Messages | Success and error notifications | Medium |
| LVD-SET-09 | Data | Loading and refresh | Medium |
Implementation observations requiring UAT confirmation¶
| Observation from implementation | Required validation |
|---|---|
Change Password in the user menu navigates to /settings, which opens on the Profile Information tab by default; the Security tab is not auto-selected. |
Confirm the approved entry flow to the Change Password form. |
Email and Username are read-only in the profile; the update payload always sends the existing email and user_name from the profile, not from the form. |
Confirm whether contact identifiers are intended to be editable. |
The profile photo field uses name="photo", but the update payload only includes image when a value named image is present, so the selected photo is not submitted with the save. |
Confirm the approved photo-update behaviour. |
| The photo dragger never updates its file list, and the avatar camera overlay has no click handler. | Confirm whether photo selection/preview is expected to work. |
The profile update payload always sends type_id, com_id, and status: 1 derived from the existing profile. |
Confirm the approved update payload. |
| The photo upload restricts to JPG/JPEG/PNG and 300KB with error notifications; the 1MB size check is commented out. | Confirm the approved photo limits. |
The profile header shows a Verified/Unverified badge from is_verified; role is displayed as a tag. |
Confirm the approved verification display. |
LVD-SET-01 — Page access and navigation flow¶
Feature overview¶
The Account Settings page at /settings is protected by authentication and is reachable from the sidebar and from the user menu (Profile and Change Password). The page uses two tabs: Profile Information and Security.
Preconditions
- A signed-in partner user.
| Field | Value |
|---|---|
| Priority | Critical |
| Test action | Open Settings from each entry point and switch tabs. |
| Expected result | The page loads from each entry point; unauthenticated access is blocked. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Sidebar entry | 1. Click the Settings icon in the sidebar. | The user is navigated to /settings. |
PASS |
|
| User menu Profile | 1. Open the user popover. 2. Click Profile. |
The user is navigated to /settings. |
PASS |
|
| User menu Change Password | 1. Open the user popover. 2. Click Change Password. |
The user is navigated to /settings. |
PASS |
Opens on the Profile tab by default; see observations. |
| Protected access | 1. Open /settings while signed out. |
The user is redirected to the login page. | PASS |
|
| Tabs | 1. Inspect the tabs. | Profile Information (default) and Security tabs are shown. | PASS |
|
| Tab switch | 1. Click Security. | The Change Password form is displayed. | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
LVD-SET-02 — Profile information display¶
Feature overview¶
The Profile Information tab shows a profile header card (avatar, name, verification badge, role, email, phone, location, address), a Contact & Location card, and an Organization Information card.
Preconditions
- A signed-in partner user with profile data.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Review the profile information. |
| Expected result | All displayed values match the account profile. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Profile header | 1. Inspect the header card. | Avatar (photo or fallback icon), full name, verification badge, role tag, email, phone, and location are shown. | PASS |
Camera overlay is decorative. |
| Verification badge | 1. Inspect the badge. | Verified or Unverified is shown based on the account status. | PASS |
|
| Contact & Location | 1. Inspect the Contact & Location card. | Email, username, city, state/region, zip code, and address are shown (read-only). | PASS |
Missing values show "Not specified". |
| Organization card | 1. Inspect the Organization Information card. | Organization name, entity type, code, region, and address are shown. | PASS |
|
| Page title | 1. Inspect the page heading. | The title is Account Settings with the "Manage your account information and security settings" subtitle. | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
LVD-SET-03 — Edit profile — edit, save and cancel¶
Feature overview¶
Edit Profile enables the form (full name, phone, profile photo). Save Changes submits the update and reloads the profile; Cancel discards the changes.
Preconditions
- A signed-in partner user.
| Field | Value |
|---|---|
| Priority | Critical |
| Test action | Edit the profile and save, then edit and cancel. |
| Expected result | A valid update saves and refreshes; cancel discards changes. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Enter edit mode | 1. Click Edit Profile. | The form becomes editable and Save Changes/Cancel buttons appear. | PASS |
|
| Change full name | 1. Enter a new full name. | The full name field accepts the value. | PASS |
|
| Change phone | 1. Enter a new phone number. | The phone field accepts the value. | PASS |
|
| Save changes | 1. Click Save Changes. | "Profile updated successfully!" appears and the profile header refreshes with the new values. | PASS |
PATCH to /lvd/profileupdate. |
| Cancel changes | 1. Edit a field, then click Cancel. | The form is disabled and the changes are discarded. | PASS |
|
| Read-only email | 1. Inspect the edit form. | Email and username are not editable. | PASS |
See observations. |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
LVD-SET-04 — Edit profile — validation rules¶
Feature overview¶
The profile form requires a full name and a phone number; the photo is optional.
Preconditions
- A signed-in partner user in edit mode.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Submit the form with missing required values. |
| Expected result | Field-level errors appear for missing values. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Empty full name | 1. Clear the full name and click Save Changes. | "Please enter Full name" error is shown. | PASS |
|
| Empty phone | 1. Clear the phone and click Save Changes. | "Please enter Phone number" error is shown. | PASS |
|
| Optional photo | 1. Save with no photo selected. | The save succeeds without a photo error. | PASS |
|
| In edit mode only | 1. Inspect the form before editing. | The form is disabled until Edit Profile is clicked. | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
LVD-SET-05 — Profile photo upload¶
Feature overview¶
The profile photo uses a drag-and-drop uploader that accepts JPG, JPEG, and PNG files up to 300KB, one at a time, with validation notifications.
Preconditions
- A signed-in partner user in edit mode.
| Field | Value |
|---|---|
| Priority | Medium |
| Test action | Upload valid and invalid files. |
| Expected result | Valid files are accepted; invalid format/size is rejected with an error notification. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Upload hints | 1. Inspect the uploader. | "Supported formats: JPG, JPEG, PNG", "Recommended size: 200×200 pixels", and "Maximum file size: 300KB" are shown. | PASS |
|
| Valid image | 1. Upload a JPG/PNG under 300KB. | The file passes validation. | PASS |
|
| Wrong format | 1. Upload a file that is not JPG/JPEG/PNG. | "You can only upload jpg, jpeg, png file only!" error appears. | PASS |
|
| Oversized file | 1. Upload a file larger than 300KB. | "Please upload a file smaller than 300KB!" error appears. | PASS |
|
| Second file | 1. Attempt a second upload. | The uploader enforces a single file. | PASS |
See observations on list behaviour. |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
LVD-SET-06 — Change password¶
Feature overview¶
The Security tab provides a Change Password form with old password, new password, and confirmation. A successful change clears the form; Cancel resets it.
Preconditions
- A signed-in partner user.
| Field | Value |
|---|---|
| Priority | Critical |
| Test action | Change the account password from the Security tab. |
| Expected result | A valid change succeeds and the form clears. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Open Security tab | 1. Open /settings and click Security. |
The Change Password form is displayed. | PASS |
|
| Successful change | 1. Enter the old password, a new password, and matching confirmation. 2. Click Change Password. |
"Password updated successfully!" appears and the form is cleared. | PASS |
PATCH to /lvd/changepassword. |
| Wrong old password | 1. Enter an incorrect old password and valid new values. | "Failed to update password. Please try again." error appears and the password is not changed. | PASS |
Generic client message; see observations. |
| Cancel | 1. Enter values, then click Cancel. | The form is cleared without any change. | PASS |
|
| Login with new password | 1. Sign out and sign in with the new password. | Login succeeds with the new password. | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
LVD-SET-07 — Change password — validation rules¶
Feature overview¶
The Change Password form requires the old password and confirmation, enforces a minimum of eight characters for the new password, and requires the confirmation to match.
Preconditions
- A signed-in partner user on the Security tab.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Submit the form with missing, weak, and mismatched values. |
| Expected result | Field-level errors appear and submission is blocked. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Empty old password | 1. Leave the old password empty and submit. | "Please enter your old password" error is shown. | PASS |
|
| Weak new password | 1. Enter a new password below 8 characters. | "Password must be at least 8 characters long" error is shown. | PASS |
|
| Empty confirmation | 1. Leave the confirmation empty. | "Please confirm your password" error is shown. | PASS |
|
| Mismatched confirmation | 1. Enter non-matching new/confirm passwords. | "Passwords do not match" error is shown. | PASS |
|
| Password generator | 1. Click the generator (refresh) button. | An 8-character strong password is inserted. | PASS |
|
| Password strength | 1. Type a password and observe the indicator. | The strength label/bar and requirement checklist update live. | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
LVD-SET-08 — Success and error messages¶
Feature overview¶
Profile and password updates show success and error notifications; photo uploads show format/size/count error notifications.
Preconditions
- A signed-in partner user on the Settings page.
| Field | Value |
|---|---|
| Priority | Medium |
| Test action | Trigger each update and upload outcome. |
| Expected result | The correct notification appears for each outcome. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Profile success | 1. Save a valid profile edit. | "Profile updated successfully!" success message appears. | PASS |
|
| Profile failure | 1. Trigger a failed profile update. | "Failed to update profile. Please try again." error message appears. | PASS |
|
| Password success | 1. Save a valid password change. | "Password updated successfully!" success message appears. | PASS |
|
| Password failure | 1. Trigger a failed password update. | "Failed to update password. Please try again." error message appears. | PASS |
|
| Upload errors | 1. Upload a wrong format or oversized file. | The corresponding upload error message appears. | PASS |
See LVD-SET-05. |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
LVD-SET-09 — Loading and data refresh¶
Feature overview¶
The page loads the profile from the profile endpoint and shows a loading placeholder while fetching; after a successful profile save, the profile data is refetched.
Preconditions
- A signed-in partner user.
| Field | Value |
|---|---|
| Priority | Medium |
| Test action | Observe the loading state and refresh after save. |
| Expected result | A loading state is shown while fetching and the profile refreshes after save. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Loading state | 1. Open /settings and observe while data loads. |
"Loading profile..." is shown until the profile loads. | PASS |
|
| Data source | 1. Inspect the profile request. | The profile loads from /lvd/authuser. |
PASS |
|
| Refresh after save | 1. Save a profile edit and observe the header. | The displayed profile updates with the saved values. | PASS |
Query is invalidated after save. |
| Field population | 1. Inspect the edit form after load. | Full name, phone, and existing photo are pre-filled from the profile. | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.