Skip to content

Commit 464052f

Browse files
schlesseraclaude
andcommitted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a5df1af commit 464052f

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"require-dev": {
1818
"wp-cli/extension-command": "^1.2 || ^2 || ^3",
19-
"wp-cli/wp-cli-tests": "^5"
19+
"wp-cli/wp-cli-tests": "dev-setup-commands-step as 5.3.99"
2020
},
2121
"config": {
2222
"process-timeout": 7200,

‎features/widget.feature‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ Feature: Manage widgets in WordPress sidebar
66
And I run `wp theme install twentytwelve --activate`
77
And I try `wp widget reset --all`
88
And I try `wp widget delete wp_inactive_widgets $(wp widget list wp_inactive_widgets --format=ids)`
9-
And I run `wp widget add text sidebar-1 --title="Text 1"`
10-
And I run `wp widget add archives sidebar-1 --title="Archives"`
11-
And I run `wp widget add calendar sidebar-1 --title="Calendar"`
12-
And I run `wp widget add search sidebar-1 --title="Quick Search"`
13-
And I run `wp widget add text sidebar-1 --title="Text 2"`
14-
And I run `wp widget add search sidebar-2 --title="Quick Search"`
15-
And I run `wp widget add text sidebar-3 --title="Text"`
9+
And these setup commands:
10+
| command |
11+
| wp widget add text sidebar-1 --title="Text 1" |
12+
| wp widget add archives sidebar-1 --title="Archives" |
13+
| wp widget add calendar sidebar-1 --title="Calendar" |
14+
| wp widget add search sidebar-1 --title="Quick Search" |
15+
| wp widget add text sidebar-1 --title="Text 2" |
16+
| wp widget add search sidebar-2 --title="Quick Search" |
17+
| wp widget add text sidebar-3 --title="Text" |
1618

1719
@skip-windows
1820
Scenario: Widget CRUD

0 commit comments

Comments
 (0)