File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,14 @@ Feature: Manage WordPress themes
7777 When I run `wp theme install p2 --version=1.4.2`
7878 Then STDOUT should not be empty
7979
80+ When I run `wp theme list --name=p2 --field=update_version`
81+ Then STDOUT should not be empty
82+ And save STDOUT as {UPDATE_VERSION}
83+
8084 When I run `wp theme list`
8185 Then STDOUT should be a table containing rows:
82- | name | status | update | version |
83- | p2 | inactive | available | 1 .4 .2 |
86+ | name | status | update | version | update_version |
87+ | p2 | inactive | available | 1 .4 .2 | { UPDATE_VERSION } |
8488
8589 When I run `wp theme activate p2`
8690 Then STDOUT should not be empty
@@ -97,8 +101,8 @@ Feature: Manage WordPress themes
97101
98102 When I run `wp theme list`
99103 Then STDOUT should be a table containing rows:
100- | name | status | update | version |
101- | p2 | active | available | 1 .4 .1 |
104+ | name | status | update | version | update_version |
105+ | p2 | inactive | available | 1 .4 .1 | { UPDATE_VERSION } |
102106
103107 When I try `wp theme update`
104108 Then STDERR should be:
You can’t perform that action at this time.
0 commit comments