{
  "$schema": "https://playground.wordpress.net/blueprint-schema.json",
  "landingPage": "/wp-admin/plugins.php",
  "preferredVersions": { "php": "8.2", "wp": "latest" },  "features": { "networking": true },
  "steps": [
    { "step": "login", "username": "admin", "password": "password" },
    {
      "step": "installPlugin",
      "pluginData": { "resource": "wordpress.org/plugins", "slug": "afojet-new-post-alerts" },
      "options": { "activate": true }
    },
    {
      "step": "runPHP",
      "code": "<?php require '/wordpress/wp-load.php'; wp_insert_post( array( 'post_title' => 'Welcome to the Afojet New Post Alerts demo', 'post_content' => 'Publish a new post to see how subscribers get notified.', 'post_status' => 'publish' ) );"
    }
  ]
}
