Fix ready border condition on watchlist cards

This commit is contained in:
Dymas
2026-05-17 21:49:27 +02:00
parent 91b1e36a94
commit 5c4f251fa6
6 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -1481,9 +1481,9 @@ class TemplateHelperTests(unittest.TestCase):
self.assertIn("else if (state.queuedCount > 0)", APP.WATCHLIST_HTML)
self.assertIn("fetchWatchlist(state.watchlistPage, { silent: true })", APP.WATCHLIST_HTML)
def test_watchlist_page_highlights_fully_ready_finished_cards(self):
def test_watchlist_page_highlights_fully_ready_cards(self):
self.assertIn(".anime-card.fully-ready", APP.WATCHLIST_HTML)
self.assertIn('item.category === "finished" && item.sub_complete && item.dub_complete', APP.WATCHLIST_HTML)
self.assertIn("const isFullyReady = item.sub_complete && item.dub_complete;", APP.WATCHLIST_HTML)
self.assertIn("card.className = watchlistCardClassName(item);", APP.WATCHLIST_HTML)
def test_watchlist_thumbnail_warmup_skips_repeated_attempts(self):