Make product cards fully clickable
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s

This commit is contained in:
2026-06-16 00:06:21 +02:00
parent a84b9af926
commit 1188cef7be
11 changed files with 133 additions and 9 deletions

View File

@@ -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):