# ================================================================= # Scheduled blog post generation # ================================================================= Feature: Scheduled blog post generation As an ITSulu content admin I want to schedule three blog posts per day automatically So that content is published without manual intervention Background: Given the Anthropic API key is configured in Settings And the blog "ITSulu Insights" exists in Odoo Scenario: Active morning slot creates a blog post when run Given I am on the Blog Publisher backend form And I set auto-publish to True And I enter topic "Morning AI Topic" When I click "Generate Now" Then a blog.post record is created with a non-empty title And a generation log entry exists with state "success" Scenario: Generate a blog post and leave it as draft Given I am on the Blog Publisher backend form And I enter topic "Scheduled Draft Topic" And I set auto-publish to False When I click "Generate Now" Then a blog.post record is created with a non-empty title And the blog.post is_published is False