Skip to content

Commit 4d9de5b

Browse files
schlesseraclaude
andauthored
Run setup commands in a single process in tests (#90)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 99524a6 commit 4d9de5b

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

‎features/widget.feature‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ Feature: Manage widgets in WordPress sidebar
99
"""
1010
And I try `wp widget reset --all`
1111
And I try `wp widget delete wp_inactive_widgets $(wp widget list wp_inactive_widgets --format=ids)`
12-
And I run `wp widget add text sidebar-1 --title="Text 1"`
13-
And I run `wp widget add archives sidebar-1 --title="Archives"`
14-
And I run `wp widget add calendar sidebar-1 --title="Calendar"`
15-
And I run `wp widget add search sidebar-1 --title="Quick Search"`
16-
And I run `wp widget add text sidebar-1 --title="Text 2"`
17-
And I run `wp widget add search sidebar-2 --title="Quick Search"`
18-
And I run `wp widget add text sidebar-3 --title="Text"`
12+
And these setup commands:
13+
| command |
14+
| wp widget add text sidebar-1 --title="Text 1" |
15+
| wp widget add archives sidebar-1 --title="Archives" |
16+
| wp widget add calendar sidebar-1 --title="Calendar" |
17+
| wp widget add search sidebar-1 --title="Quick Search" |
18+
| wp widget add text sidebar-1 --title="Text 2" |
19+
| wp widget add search sidebar-2 --title="Quick Search" |
20+
| wp widget add text sidebar-3 --title="Text" |
1921

2022
@skip-windows
2123
Scenario: Widget CRUD

0 commit comments

Comments
 (0)