From b915473c44318819d53219bd8f6ae5400014f8f5 Mon Sep 17 00:00:00 2001 From: Evan Herman Date: Wed, 10 Jan 2024 11:49:45 -0500 Subject: [PATCH] Introduce a blueprint for WordPress preview (#2580) * Introduce a blueprint for WordPress preview * Update blueprint.json file --- .wordpress-org/blueprints/blueprint.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .wordpress-org/blueprints/blueprint.json diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json new file mode 100644 index 00000000000..981e7b382b1 --- /dev/null +++ b/.wordpress-org/blueprints/blueprint.json @@ -0,0 +1,24 @@ +{ + "landingPage": "/wp-admin/post.php?post=5&action=edit", + "phpExtensionBundles": [ + "kitchen-sink" + ], + "steps": [ + { + "step": "login", + "username": "admin", + "password": "password" + }, + { + "step": "installTheme", + "themeZipFile": { + "resource": "wordpress.org\/themes", + "slug": "go" + } + }, + { + "step": "runPHP", + "code": " 5,\n'post_title' => 'CoBlocks Demo',\n'post_content' => '\n

You can test out CoBlocks by adding any CoBlocks block to the page.

\n',\n'post_status' => 'publish',\n'post_author' => 1\n));" + } + ] +} \ No newline at end of file