File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 11Feature : Generate cache
22
3- Scenario : Manage wp-super-cache via cli
3+ Scenario : Manage wp-super-cache via CLI
44 Given a WP install
55
66 When I run `wp plugin install wp-super-cache`
77 Then STDOUT should contain:
8- """
9- Downloading install
10- """
11- And STDOUT should contain:
128 """
139 Plugin installed successfully.
1410 """
1511 And the wp-content/plugins/wp-super-cache directory should exist
1612
17- When I run `wp package install wojsmol/wp- super-cache-cli:tov2 `
18- Then STDOUT should contain:
13+ When I try `wp super-cache enable `
14+ Then STDERR should contain:
1915 """
20- Success: Package installed .
16+ Error: WP Super Cache needs to be enabled to use its WP-CLI commands .
2117 """
2218
23- When I run `wp super-cache enable`
24- Then STDOUT should contain:
19+ When I run `wp plugin activate wp-super-cache`
20+ And I run `wp super-cache enable`
21+ Then STDOUT should contain:
2522 """
2623 Success: The WP Super Cache is enabled.
2724 """
You can’t perform that action at this time.
0 commit comments