Open auto-download settings in modal overlay

This commit is contained in:
Dymas
2026-05-25 10:19:50 +02:00
parent e48bc21944
commit df4eb39ddf
6 changed files with 194 additions and 103 deletions
+3
View File
@@ -1986,7 +1986,10 @@ class TemplateHelperTests(unittest.TestCase):
def test_watchlist_page_renders_auto_download_editor(self):
self.assertIn("Auto-download", APP.WATCHLIST_HTML)
self.assertIn('id="autoDownloadOverlay"', APP.WATCHLIST_HTML)
self.assertIn('api("/api/watchlist/update-auto-download"', APP.WATCHLIST_HTML)
self.assertIn("openAutoDownloadOverlay(item)", APP.WATCHLIST_HTML)
self.assertIn("closeAutoDownloadOverlay()", APP.WATCHLIST_HTML)
self.assertIn("Save auto-download", APP.WATCHLIST_HTML)
self.assertIn("Manual add does not trigger it", APP.WATCHLIST_HTML)
self.assertIn("Name source", APP.WATCHLIST_HTML)