Make product cards fully clickable
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
This commit is contained in:
@@ -125,6 +125,13 @@ class CartFlowTests(TestCase):
|
||||
self.assertContains(response, "3200,00 руб.")
|
||||
self.assertContains(response, "3295,00 руб.")
|
||||
self.assertContains(response, "/media/items/cart-item.jpg")
|
||||
self.assertContains(
|
||||
response,
|
||||
'<a class="cart-item__overlay" href="/catalog/plumbing/kitchen-sink/"',
|
||||
html=False,
|
||||
)
|
||||
self.assertContains(response, 'id="cart-increment-', html=False)
|
||||
self.assertContains(response, 'action="/orders/cart/remove/"', html=False)
|
||||
self.assertNotContains(response, 'name="promo_code"', html=False)
|
||||
|
||||
def test_cart_page_redirects_guest_to_login(self):
|
||||
|
||||
Reference in New Issue
Block a user