update readme, changelog

This commit is contained in:
Ron Rennick 2021-12-22 14:54:04 -04:00
parent 60e1820898
commit 0323025179
2 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@
- `clickAndWaitForSelector( buttonSelector, resultSelector, timeout )` to click a button and wait for response - `clickAndWaitForSelector( buttonSelector, resultSelector, timeout )` to click a button and wait for response
- Optional parameter `testResponse` to `withRestApi` functions that contain an `expect()` - Optional parameter `testResponse` to `withRestApi` functions that contain an `expect()`
- `shopper.logout()` to log out the shopper account - `shopper.logout()` to log out the shopper account
- `merchant.dismissOnboardingWizard()` to dismiss the onboarding wizard
- `merchant.collapseAdminMenu()` to expand or collapse the WP admin menu
# 0.1.6 # 0.1.6

View File

@ -84,6 +84,8 @@ This package provides support for enabling retries in tests:
| Function | Parameters | Description | | Function | Parameters | Description |
|----------|-------------|------------| |----------|-------------|------------|
| `collapseAdminMenu` | `collapse` | Collapse or expand the WP admin menu |
| `dismissOnboardingWizard` | | Dismiss the onboarding wizard if present |
| `goToOrder` | `orderId` | Go to view a single order | | `goToOrder` | `orderId` | Go to view a single order |
| `goToProduct` | `productId` | Go to view a single product | | `goToProduct` | `productId` | Go to view a single product |
| `login` | | Log in as merchant | | `login` | | Log in as merchant |