bigbite / wp-cypress

WordPress end to end testing with Cypress.io.
MIT License
86 stars 19 forks source link

Release 0.8.0 #44

Closed liamdefty closed 3 years ago

liamdefty commented 3 years ago

To do before merge

Change Log

Added

Changed

Fixed

Breaking Changes

Example configs

Plugins/Theme
{
 "wp": {
    "version": ["5.5"],
    "plugins": ["./path/to/plugin", "./another/path/to/plugin"],
    "themes": ["./path/to/theme"]
  }
}
Plugins/Theme with VIP
{
 "wp": {
    "version": ["5.5"],
    "plugins": ["./path/to/plugin", "./another/path/to/plugin"],
    "themes": ["./path/to/theme"],
    "muPlugins": {
       "vip": true
     }
  }
}
Plugins/Theme/Mu-plugins
{
 "wp": {
    "version": ["5.5"],
    "plugins": ["./path/to/plugin", "./another/path/to/plugin"],
    "themes": ["./path/to/theme"],
    "muPlugins": {
       "path": "./path/to/mu-plugins "
     }
  }
}
Plugins/Theme/Mu-plugins with VIP
{
 "wp": {
    "version": ["5.5"],
    "plugins": ["./path/to/plugin", "./another/path/to/plugin"],
    "themes": ["./path/to/theme"],
    "muPlugins": {
       "path": "./path/to/client-mu-plugins",
       "vip": true
     }
  }
}
WP Content
{
 "wp": {
      "version": ["5.5"],
      "wpContent": {
        "path": "./wp-content",
        "activeTheme": "twentynineteen",
        "activePlugins": ["my-plugin", "askimet"]
      },
  }
}
WP Content with VIP
{
"wp": {
      "version": ["5.5"],
      "wpContent": {
        "path": "./wp-content",
        "activeTheme": "twentynineteen",
        "activePlugins": ["liam-test"]
      },
      "muPlugins": {
        "vip": true
      },
      "configFile": "./wp-content/vip-config/vip-config.php",
    }
}

Types of changes (if applicable):

Checklist (if applicable):