Use inline watchlist download mode picker
This commit is contained in:
+4
-1
@@ -1726,7 +1726,10 @@ class TemplateHelperTests(unittest.TestCase):
|
||||
def test_watchlist_page_download_all_replaces_open_action(self):
|
||||
self.assertIn("Download all", APP.WATCHLIST_HTML)
|
||||
self.assertIn('api("/api/watchlist/download-all"', APP.WATCHLIST_HTML)
|
||||
self.assertIn("Enter sub or dub", APP.WATCHLIST_HTML)
|
||||
self.assertIn('class="download-picker"', APP.WATCHLIST_HTML)
|
||||
self.assertIn('downloadPicker.classList.toggle("visible")', APP.WATCHLIST_HTML)
|
||||
self.assertIn('downloadWatchlistItem(item, "sub"', APP.WATCHLIST_HTML)
|
||||
self.assertIn('downloadWatchlistItem(item, "dub"', APP.WATCHLIST_HTML)
|
||||
|
||||
def test_watchlist_thumbnail_warmup_skips_repeated_attempts(self):
|
||||
self.assertIn("thumbnailWarmupPending: new Set()", APP.WATCHLIST_HTML)
|
||||
|
||||
Reference in New Issue
Block a user