Test: Joomla Scheduled Tasks integration #8

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

Verify the task plugin registers correctly and runs backups on schedule.

Scope

  • Task type appears in System > Scheduled Tasks
  • Profile selector dropdown populated from DB
  • Task execution runs the correct profile
  • Task status reported correctly
  • Multiple tasks with different profiles

Acceptance Criteria

  • "MokoJoomBackup: Run Backup Profile" appears as task type
  • Profile dropdown shows all published profiles
  • Task executes backup with selected profile
  • Success/failure reported in task status
  • Multiple tasks can run different profiles
Verify the task plugin registers correctly and runs backups on schedule. ## Scope - Task type appears in System > Scheduled Tasks - Profile selector dropdown populated from DB - Task execution runs the correct profile - Task status reported correctly - Multiple tasks with different profiles ## Acceptance Criteria - [ ] "MokoJoomBackup: Run Backup Profile" appears as task type - [ ] Profile dropdown shows all published profiles - [ ] Task executes backup with selected profile - [ ] Success/failure reported in task status - [ ] Multiple tasks can run different profiles
jmiller added the type: testingpriority: highcomponent: schedulerstatus: ready labels 2026-06-02 20:29:24 +00:00
Author
Owner

Testing Plan

Pre-requisites

  • Joomla 4.1+ with com_scheduler
  • Task plugin enabled
  • At least 2 published backup profiles
  • Cron job configured: * * * * * php cli/joomla.php scheduler:run --all

TC-8.1: Task type registration

  1. Go to System > Scheduled Tasks > New
  2. Verify "MokoJoomBackup: Run Backup Profile" appears in type list
  3. Select it

TC-8.2: Profile selector

  1. Verify dropdown shows all published profiles by title
  2. Verify unpublished profiles are NOT shown
  3. Select a profile and save the task

TC-8.3: Manual execution

  1. Create a task with profile 1
  2. Click "Run" in the task list
  3. Verify a new backup record is created
  4. Verify record origin = "scheduled"
  5. Verify task status shows success

TC-8.4: Multiple tasks

  1. Create task A with profile 1 (daily)
  2. Create task B with profile 2 (hourly)
  3. Run both tasks
  4. Verify two different backups created with correct profile IDs

TC-8.5: Task failure

  1. Create a task pointing to a deleted profile
  2. Run the task
  3. Verify task status shows KNOCKOUT
  4. Verify error message in task log
## Testing Plan ### Pre-requisites - Joomla 4.1+ with com_scheduler - Task plugin enabled - At least 2 published backup profiles - Cron job configured: `* * * * * php cli/joomla.php scheduler:run --all` **TC-8.1: Task type registration** 1. Go to System > Scheduled Tasks > New 2. Verify "MokoJoomBackup: Run Backup Profile" appears in type list 3. Select it **TC-8.2: Profile selector** 1. Verify dropdown shows all published profiles by title 2. Verify unpublished profiles are NOT shown 3. Select a profile and save the task **TC-8.3: Manual execution** 1. Create a task with profile 1 2. Click "Run" in the task list 3. Verify a new backup record is created 4. Verify record origin = "scheduled" 5. Verify task status shows success **TC-8.4: Multiple tasks** 1. Create task A with profile 1 (daily) 2. Create task B with profile 2 (hourly) 3. Run both tasks 4. Verify two different backups created with correct profile IDs **TC-8.5: Task failure** 1. Create a task pointing to a deleted profile 2. Run the task 3. Verify task status shows KNOCKOUT 4. Verify error message in task log
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomBackup#8