@@ -19,7 +19,8 @@ Feature: Site Command
1919
2020 Scenario : Create wp site successfully
2121 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
2324 And The site 'wp.test' should have WordPress
2425 And Request on 'wp.test' should contain following headers:
2526 | header |
@@ -28,7 +29,8 @@ Feature: Site Command
2829 Scenario : Create wpsubdir site successfully
2930 When I run 'bin/ee site create wpsubdir.test --type=wp --mu=subdir'
3031 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
3234 And The site 'wpsubdir.test' should have WordPress
3335 And The site 'wpsubdir.test' should be 'subdir' multisite
3436 And Request on 'wpsubdir.test' should contain following headers:
@@ -38,20 +40,31 @@ Feature: Site Command
3840 Scenario : Create wpsubdom site successfully
3941 When I run 'bin/ee site create wpsubdom.test --type=wp --mu=subdom'
4042 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
4245 And The site 'wpsubdom.test' should have WordPress
4346 And The site 'wpsubdom.test' should be 'subdomain' multisite
4447 And Request on 'wpsubdom.test' should contain following headers:
4548 | header |
4649 | HTTP /1 .1 200 OK |
4750
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+
4860 Scenario : List the sites
4961 When I run 'bin/ee site list --format=text'
5062 Then STDOUT should return exactly
5163 """
5264 wp.test
5365 wpsubdir.test
5466 wpsubdom.test
67+ wpcache.test
5568 """
5669
5770 Scenario : Delete the sites
0 commit comments