File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -3,22 +3,26 @@ Feature: Manage WordPress sidebars
33 Scenario : List available sidebars
44 Given a WP install
55
6- When I run `wp theme install p2 --activate`
6+ When I try `wp theme delete twentytwelve --force`
7+ And I run `wp theme install twentytwelve --activate`
78 Then STDOUT should not be empty
89
910 When I run `wp sidebar list --fields=name,id`
1011 Then STDOUT should be a table containing rows:
11- | name | id |
12- | Sidebar | sidebar -1 |
12+ | name | id |
13+ | Main Sidebar | sidebar -1 |
14+ | First Front Page Widget Area | sidebar -2 |
15+ | Second Front Page Widget Area | sidebar -3 |
16+ | Inactive Widgets | wp_inactive_widgets |
1317
1418 When I run `wp sidebar list --format=ids`
1519 Then STDOUT should be:
1620 """
17- sidebar-1 wp_inactive_widgets
21+ sidebar-1 sidebar-2 sidebar-3 wp_inactive_widgets
1822 """
1923
2024 When I run `wp sidebar list --format=count`
2125 Then STDOUT should be:
2226 """
23- 2
27+ 4
2428 """
You can’t perform that action at this time.
0 commit comments