Remove unnecessary code from test
This commit is contained in:
parent
c27aa94a80
commit
c7cf42020f
|
@ -27,8 +27,6 @@ const {
|
|||
* @returns {Promise<void>}
|
||||
*/
|
||||
const applyCouponToCart = async ( couponCode ) => {
|
||||
await expect(page).toClick('a', {text: 'Click here to enter your code'});
|
||||
await uiUnblocked();
|
||||
await clearAndFillInput('#coupon_code', couponCode);
|
||||
await expect(page).toClick('button', {text: 'Apply coupon'});
|
||||
await uiUnblocked();
|
||||
|
|
Loading…
Reference in New Issue