diff --git a/packages/js/e2e-utils/CHANGELOG.md b/packages/js/e2e-utils/CHANGELOG.md index 00d16887d64..d5f40537e1c 100644 --- a/packages/js/e2e-utils/CHANGELOG.md +++ b/packages/js/e2e-utils/CHANGELOG.md @@ -23,6 +23,8 @@ - `clickAndWaitForSelector( buttonSelector, resultSelector, timeout )` to click a button and wait for response - Optional parameter `testResponse` to `withRestApi` functions that contain an `expect()` - `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 diff --git a/packages/js/e2e-utils/README.md b/packages/js/e2e-utils/README.md index b6b9fee51ad..3ef636a55f5 100644 --- a/packages/js/e2e-utils/README.md +++ b/packages/js/e2e-utils/README.md @@ -84,6 +84,8 @@ This package provides support for enabling retries in tests: | 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 | | `goToProduct` | `productId` | Go to view a single product | | `login` | | Log in as merchant |