1.5 KiB
1.5 KiB
Unreleased
0.1.2
Fixed
- Missing
config
package dependency - Added
page.removeAllListeners('dialog')
tocreateVariableProduct()
to fix dialog already handled errors
Added
shopper.gotoMyAccount()
go to the /my-account/ pageclickFilter()
util helper method that clicks on a list page filtermoveAllItemsToTrash()
util helper method that checks every item in a list page and moves them to the trashcreateSimpleOrder( status )
component which accepts an order status string and creates a basic order with that statusaddProductToOrder( orderId, productName )
component which adds the provided productName to the passed in orderIdcreateCoupon( couponAmount )
component which accepts a coupon amount string (it defaults to 5) and creates a basic coupon. Returns the generated coupon code.evalAndClick( selector )
use Puppeteer page.$eval to select and click and element.selectOptionInSelect2( selector, value )
util helper method that search and select in any select2 type field
Changes
- Deprecated
StoreOwnerFlow
,CustomerFlow
in favour ofmerchant
,shopper
createSimpleOrder( status )
returns the ID of the order that was created- Updated
createCoupon( couponAmount )
component by adding a new parameterdiscountType
which allows you to use any coupon discount type in tests - Updated
verifyAndPublish( noticeText )
component by add a new parameter,noticeText
, that allows passing in the accepted update notice text. For example, with variations on creation or update.
0.1.1
- Initial/beta release