Test: profile management CRUD and form validation #12

Open
opened 2026-06-02 20:29:27 +00:00 by jmiller · 1 comment
Owner

Verify backup profile creation, editing, and deletion works correctly.

Scope

  • Create profile with all fields
  • Edit existing profile
  • Delete profile
  • Form validation (required fields)
  • Default values
  • showon field visibility (FTP/GDrive conditional fields)

Acceptance Criteria

  • All form tabs render correctly
  • FTP fields show only when remote_storage=ftp
  • Google Drive fields show only when remote_storage=google_drive
  • Title is required
  • Default profile cannot be deleted
Verify backup profile creation, editing, and deletion works correctly. ## Scope - Create profile with all fields - Edit existing profile - Delete profile - Form validation (required fields) - Default values - showon field visibility (FTP/GDrive conditional fields) ## Acceptance Criteria - [ ] All form tabs render correctly - [ ] FTP fields show only when remote_storage=ftp - [ ] Google Drive fields show only when remote_storage=google_drive - [ ] Title is required - [ ] Default profile cannot be deleted
jmiller added the type: testingpriority: mediumcomponent: adminstatus: ready labels 2026-06-02 20:29:27 +00:00
Author
Owner

Testing Plan

TC-12.1: Create profile

  1. Navigate to Profiles > New
  2. Fill in all tabs (General, Archive, Filters, Remote)
  3. Save
  4. Verify all values persisted correctly

TC-12.2: Edit profile

  1. Open existing profile
  2. Change backup_type, exclusion filters, compression
  3. Save and reopen
  4. Verify changes persisted

TC-12.3: Delete profile

  1. Select a non-default profile
  2. Click Delete
  3. Verify profile removed

TC-12.4: Required validation

  1. Try to save profile with empty title
  2. Verify validation error

TC-12.5: showon conditional fields

  1. Set remote_storage to "None" — verify FTP/GDrive fields hidden
  2. Set to "FTP" — verify FTP fields visible, GDrive hidden
  3. Set to "Google Drive" — verify GDrive fields visible, FTP hidden

TC-12.6: Default values

  1. Create new profile
  2. Verify defaults: type=full, format=zip, compression=5, backup_dir=default path
## Testing Plan **TC-12.1: Create profile** 1. Navigate to Profiles > New 2. Fill in all tabs (General, Archive, Filters, Remote) 3. Save 4. Verify all values persisted correctly **TC-12.2: Edit profile** 1. Open existing profile 2. Change backup_type, exclusion filters, compression 3. Save and reopen 4. Verify changes persisted **TC-12.3: Delete profile** 1. Select a non-default profile 2. Click Delete 3. Verify profile removed **TC-12.4: Required validation** 1. Try to save profile with empty title 2. Verify validation error **TC-12.5: showon conditional fields** 1. Set remote_storage to "None" — verify FTP/GDrive fields hidden 2. Set to "FTP" — verify FTP fields visible, GDrive hidden 3. Set to "Google Drive" — verify GDrive fields visible, FTP hidden **TC-12.6: Default values** 1. Create new profile 2. Verify defaults: type=full, format=zip, compression=5, backup_dir=default path
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomBackup#12