Remove unnecessary code from test

This commit is contained in:
Veljko 2021-02-10 12:29:56 +01:00
parent c27aa94a80
commit c7cf42020f
1 changed files with 1 additions and 3 deletions

View File

@ -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();