@@ -19,7 +19,8 @@ Feature: Site Command
19
19
20
20
Scenario : Create wp site successfully
21
21
When I run 'bin/ee site create wp.test --type=wp'
22
- Then The site 'wp.test' should have webroot
22
+ Then After delay of 5 seconds
23
+ And The site 'wp.test' should have webroot
23
24
And The site 'wp.test' should have WordPress
24
25
And Request on 'wp.test' should contain following headers:
25
26
| header |
@@ -28,7 +29,8 @@ Feature: Site Command
28
29
Scenario : Create wpsubdir site successfully
29
30
When I run 'bin/ee site create wpsubdir.test --type=wp --mu=subdir'
30
31
And I create subsite '1' in 'wpsubdir.test'
31
- Then The site 'wpsubdir.test' should have webroot
32
+ Then After delay of 5 seconds
33
+ And The site 'wpsubdir.test' should have webroot
32
34
And The site 'wpsubdir.test' should have WordPress
33
35
And The site 'wpsubdir.test' should be 'subdir' multisite
34
36
And Request on 'wpsubdir.test' should contain following headers:
@@ -38,20 +40,31 @@ Feature: Site Command
38
40
Scenario : Create wpsubdom site successfully
39
41
When I run 'bin/ee site create wpsubdom.test --type=wp --mu=subdom'
40
42
And I create subsite '1' in 'wpsubdom.test'
41
- Then The site 'wpsubdom.test' should have webroot
43
+ Then After delay of 5 seconds
44
+ And The site 'wpsubdom.test' should have webroot
42
45
And The site 'wpsubdom.test' should have WordPress
43
46
And The site 'wpsubdom.test' should be 'subdomain' multisite
44
47
And Request on 'wpsubdom.test' should contain following headers:
45
48
| header |
46
49
| HTTP /1 .1 200 OK |
47
50
51
+ Scenario : Create wp site successfully
52
+ When I run 'bin/ee site create wpcache.test --type=wp --cache'
53
+ Then After delay of 5 seconds
54
+ And The site 'wpcache.test' should have webroot
55
+ And The site 'wpcache.test' should have WordPress
56
+ And Request on 'wpcache.test' should contain following headers:
57
+ | header |
58
+ | HTTP /1 .1 200 OK |
59
+
48
60
Scenario : List the sites
49
61
When I run 'bin/ee site list --format=text'
50
62
Then STDOUT should return exactly
51
63
"""
52
64
wp.test
53
65
wpsubdir.test
54
66
wpsubdom.test
67
+ wpcache.test
55
68
"""
56
69
57
70
Scenario : Delete the sites
0 commit comments