Added changelog and readme
This commit is contained in:
parent
efbb119b31
commit
0f1325d937
|
@ -19,6 +19,7 @@
|
||||||
- Added `statuses` optional parameter to `deleteAllRepositoryObjects()` to delete on specific statuses
|
- Added `statuses` optional parameter to `deleteAllRepositoryObjects()` to delete on specific statuses
|
||||||
- Added `createOrder()` component util that creates an order using the API with the passed in details
|
- Added `createOrder()` component util that creates an order using the API with the passed in details
|
||||||
- Updated `addShippingZoneAndMethod` to use the API instead of UI to create shipping zones
|
- Updated `addShippingZoneAndMethod` to use the API instead of UI to create shipping zones
|
||||||
|
- Added `getSystemEnvironment()` that gets the current environment from the WooCommerce API.
|
||||||
|
|
||||||
# 0.1.5
|
# 0.1.5
|
||||||
|
|
||||||
|
|
|
@ -149,6 +149,7 @@ This package provides support for enabling retries in tests:
|
||||||
| `resetSettingsGroupToDefault` | `settingsGroup` | Reset settings in settings group to default except `select` fields |
|
| `resetSettingsGroupToDefault` | `settingsGroup` | Reset settings in settings group to default except `select` fields |
|
||||||
| `batchCreateOrders` | `orders` | Create a batch of orders using the "Batch Create Order" API endpoint |
|
| `batchCreateOrders` | `orders` | Create a batch of orders using the "Batch Create Order" API endpoint |
|
||||||
| `deleteAllOrders` | | Permanently delete all orders |
|
| `deleteAllOrders` | | Permanently delete all orders |
|
||||||
|
| `getSystemEnvironment| | Get the current environment from the WooCommerce system status API.
|
||||||
|
|
||||||
### Page Utilities
|
### Page Utilities
|
||||||
|
|
||||||
|
|
|
@ -269,7 +269,7 @@ export const withRestApi = {
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the current envrionment from the WooCommerce system status API.
|
* Get the current environment from the WooCommerce system status API.
|
||||||
*
|
*
|
||||||
* @returns {Promise<object>} The environment object from the API response.
|
* @returns {Promise<object>} The environment object from the API response.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue