[frontend] use correct class to check cart total in coupon code spec