Code review feedback
This commit is contained in:
parent
aeb0f5861f
commit
e3765dc650
|
@ -4,6 +4,7 @@
|
|||
- Merchant Order Status Filter tests
|
||||
- Merchant Order Refund tests
|
||||
- Merchant Apply Coupon tests
|
||||
- Added new config variable for Simple Product price to `tests/e2e/env/config/default.json`. Defaults to 9.99
|
||||
|
||||
## Fixed
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* eslint-disable jest/no-export */
|
||||
/* eslint-disable jest/no-export, jest/no-standalone-expect */
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
|
@ -35,6 +35,9 @@ const runOrderApplyCouponTest = () => {
|
|||
// We need to remove any listeners on the `dialog` event otherwise we can't catch the dialog below
|
||||
page.removeAllListeners('dialog'),
|
||||
]);
|
||||
|
||||
// Make sure the simple product price is greater than the coupon amount
|
||||
await expect(simpleProductPrice).toBeGreaterThan(5.00);
|
||||
} );
|
||||
|
||||
it('can apply a coupon', async () => {
|
||||
|
|
Loading…
Reference in New Issue