Added changelog and readme

This commit is contained in:
Greg 2021-08-27 16:04:03 -06:00
parent efbb119b31
commit 0f1325d937
3 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@
- 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
- 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

View File

@ -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 |
| `batchCreateOrders` | `orders` | Create a batch of orders using the "Batch Create Order" API endpoint |
| `deleteAllOrders` | | Permanently delete all orders |
| `getSystemEnvironment| | Get the current environment from the WooCommerce system status API.
### Page Utilities

View File

@ -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.
*/