Skip to content

Commit

Permalink
update: two blueprint w/ gb experiements (#113)
Browse files Browse the repository at this point in the history
Fixes #94 

Blueprints: 
- `grid-variations`
- `gb-more-experiments`

Both now use login and plugins shorthands. 


_Test using Playground only works for `gb-more-experiments`_
  • Loading branch information
bph authored Feb 4, 2025
1 parent ee0ce5a commit 71b8919
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
4 changes: 1 addition & 3 deletions blueprints/gb-more-experiments/blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
},
"landingPage": "/wp-admin/site-editor.php",
"plugins": ["gutenberg"],
"login":true,
"steps": [
{
"step": "login"
},
{
"step": "runPHP",
"code": "<?php require '/wordpress/wp-load.php'; update_option( 'gutenberg-experiments', array( 'gutenberg-custom-dataviews' => true, 'gutenberg-new-posts-dashboard' => true, 'gutenberg-quick-edit-dataviews' => true ) );"
Expand Down
17 changes: 2 additions & 15 deletions blueprints/grid-variations/blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,9 @@
"categories": ["Gutenberg", "Experiments"]
},
"landingPage": "/wp-admin/site-editor.php",
"login":true,
"plugins":["gutenberg"],
"steps": [
{
"step": "login",
"username": "admin",
"password": "password"
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org/plugins",
"slug": "gutenberg"
},
"options": {
"activate": true
}
},
{
"step": "runPHP",
"code": "<?php require '/wordpress/wp-load.php'; update_option( 'gutenberg-experiments', array( 'gutenberg-grid-interactivity' => true ) );"
Expand Down

0 comments on commit 71b8919

Please sign in to comment.