Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"require-dev": {
"wp-cli/extension-command": "^1.2 || ^2 || ^3",
"wp-cli/wp-cli-tests": "^5"
"wp-cli/wp-cli-tests": "dev-setup-commands-step as 5.3.99"
},
"config": {
"process-timeout": 7200,
Expand Down
16 changes: 9 additions & 7 deletions features/widget.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ Feature: Manage widgets in WordPress sidebar
And I run `wp theme install twentytwelve --activate`
And I try `wp widget reset --all`
And I try `wp widget delete wp_inactive_widgets $(wp widget list wp_inactive_widgets --format=ids)`
And I run `wp widget add text sidebar-1 --title="Text 1"`
And I run `wp widget add archives sidebar-1 --title="Archives"`
And I run `wp widget add calendar sidebar-1 --title="Calendar"`
And I run `wp widget add search sidebar-1 --title="Quick Search"`
And I run `wp widget add text sidebar-1 --title="Text 2"`
And I run `wp widget add search sidebar-2 --title="Quick Search"`
And I run `wp widget add text sidebar-3 --title="Text"`
And these setup commands:
| command |
| wp widget add text sidebar-1 --title="Text 1" |
| wp widget add archives sidebar-1 --title="Archives" |
| wp widget add calendar sidebar-1 --title="Calendar" |
| wp widget add search sidebar-1 --title="Quick Search" |
| wp widget add text sidebar-1 --title="Text 2" |
| wp widget add search sidebar-2 --title="Quick Search" |
| wp widget add text sidebar-3 --title="Text" |

@skip-windows
Scenario: Widget CRUD
Expand Down
Loading