@@ -105,12 +105,12 @@ Feature: Reset WordPress sidebars
105105 """
106106 0
107107 """
108- And I run `wp widget list sidebar-2 --format=count`
108+ When I run `wp widget list sidebar-2 --format=count`
109109 Then STDOUT should be:
110110 """
111111 0
112112 """
113- And I run `wp widget list sidebar-3 --format=count`
113+ When I run `wp widget list sidebar-3 --format=count`
114114 Then STDOUT should be:
115115 """
116116 0
@@ -120,19 +120,20 @@ Feature: Reset WordPress sidebars
120120 """
121121 calendar-1
122122 """
123- Then STDOUT should contain:
123+ And STDOUT should contain:
124124 """
125125 search-1
126126 """
127- Then STDOUT should contain:
127+ And STDOUT should contain:
128128 """
129129 text-1
130130 """
131131
132132 Scenario : Testing movement of widgets while reset
133133 When I run `wp widget add calendar sidebar-2 --title="Calendar" `
134134 Then STDOUT should not be empty
135- And I run `wp widget add search sidebar-2 --title="Quick Search" `
135+
136+ When I run `wp widget add search sidebar-2 --title="Quick Search" `
136137 Then STDOUT should not be empty
137138
138139 When I run `wp widget list sidebar-2 --format=ids`
@@ -146,8 +147,9 @@ Feature: Reset WordPress sidebars
146147 When I run `wp widget reset sidebar-2`
147148 And I run `wp widget list sidebar-2 --format=ids`
148149 Then STDOUT should be empty
149- And I run `wp widget list wp_inactive_widgets --format=ids`
150- Then STDOUT should contain:
150+
151+ When I run `wp widget list wp_inactive_widgets --format=ids`
152+ And STDOUT should contain:
151153 """
152154 calendar-1 search-1
153155 """
0 commit comments