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:
@@ -75,6 +75,16 @@ class FavoritePageTests(TestCase):
|
||||
self.assertContains(response, "/media/items/sink-primary.jpg")
|
||||
self.assertContains(response, 'href="/catalog/plumbing/kitchen-sink/"', html=False)
|
||||
self.assertContains(response, 'href="/catalog/plumbing/mono-tap/"', html=False)
|
||||
self.assertContains(
|
||||
response,
|
||||
'<a class="item-card-overlay" href="/catalog/plumbing/kitchen-sink/"',
|
||||
html=False,
|
||||
)
|
||||
self.assertContains(
|
||||
response,
|
||||
'<a class="item-card-overlay" href="/catalog/plumbing/mono-tap/"',
|
||||
html=False,
|
||||
)
|
||||
self.assertContains(response, "Удалить из избранного")
|
||||
|
||||
def test_toggle_endpoint_adds_and_removes_favorite(self):
|
||||
|
||||
Reference in New Issue
Block a user