c636cb1bbe
* Add "single-use" coupon to the fixture data * Create a first draft of the coupon e2e test * Create single use coupon code constant * Create "applyCouponFromCheckout" function * Remove the "single-use" coupon from the fixture data * Setup coupon creation using Woo's Rest API * Add single-use coupon E2E test * Move discount XPath definition to the expressions file * Clean comments * Remove unnecessary delay function * Refactor to a more human friendly check * Clear the setup in the afterAll branch (delete coupon) Co-authored-by: Saad Tarhi <saad.tarhi@automattic.com> |
||
---|---|---|
plugins/woocommerce-blocks |