End-to-End Test Plan
- Confirm WordPress, WooCommerce, and plugin activation.
- Confirm settings REST returns cleanup_enabled false by default.
- Confirm Action Scheduler has no docm_scheduled_cleanup job while cleanup is disabled.
- Generate failed_payment and empty_draft test orders.
- Preview cleanup and verify only eligible statuses appear.
- Run dry-run cleanup and verify orders remain.
- Run execute cleanup against disposable generated orders.
- Reset settings and delete remaining generated test orders.
Admin routes
Open plugin admin after logging in as an administrator.