-
Notifications
You must be signed in to change notification settings - Fork 22
Configuration Options
Paul English edited this page Jul 22, 2022
·
8 revisions
Property | Required | Default |
---|---|---|
version | Required | |
themes | Optional | null |
plugins | Optional | null |
seedsPath | Optional | cypress/seeds |
multisite | Optional | false |
url | Optional | http://localhost |
port | Optional | 80 |
dbPort | Optional | 3306 |
configFile | Optional | null |
config | Optional | null |
timezone | Optional | null |
muPlugins | Optional | null |
wpContent | Optional | null |
locale | Optional | en_US |
phpVersion | Optional | 7.4 |
phpMemoryLimit | Optional | 128M |
- Type: any of the folllowing:
string
orarray
- Example:
[5.4, 5.5]
- Type:
string[]
- Example:
["./path/to/theme"]
- Type:
string[]
- Example:
["./path/to/plugin", "./another/path/to/plugin"]
- Type:
string
- Example:
cypress/seeds
- Type: any of the folllowing:
boolean
orstring
- Example:
true
- Type: any of the folllowing:
boolean
orstring
- Example:
my-wordpress-site.test
- Type:
number
- Example:
3000
- Type:
number
- Example:
3307
- Type:
string
- Example:
path/to/config.php
pattern: the string must match the following regular expression:
^.*.php$
- Type:
object
- Type:
string
muPlugins
- Type:
object
Property | Required |
---|---|
vip | Optional |
path | Optional |
- Type:
boolean
- Type:
string
wpContent
- Type:
object
Property | Required |
---|---|
path | Required |
activeTheme | Optional |
activePlugins | Optional |
- Type:
string
- Example:
path/to/wp-content
- Type:
string
- Type:
string[]
Set the locale of WordPress. Any locale set is dependent on compatibility as outlined in the WordPress polyglot and locales page.
- Type:
string
Set the version of PHP to run the WP-Cypress environment on.
- Type:
number
Set the memory limit of PHP running on the created environment.
- Type:
string
- Example:
1G
- 1 Gigabyte
Spotted a bug or have an idea for a feature? Raise an issue