Tidy watchlist action button layout
This commit is contained in:
@@ -2594,6 +2594,9 @@ class TemplateHelperTests(unittest.TestCase):
|
||||
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)
|
||||
self.assertIn("grid-template-columns: repeat(2, minmax(0, 1fr));", APP.WATCHLIST_HTML)
|
||||
self.assertLess(APP.WATCHLIST_HTML.index('<button class="primary" type="button">Refresh</button>'), APP.WATCHLIST_HTML.index('<button class="danger" type="button">Remove</button>'))
|
||||
self.assertLess(APP.WATCHLIST_HTML.index('<button class="danger" type="button">Remove</button>'), APP.WATCHLIST_HTML.index('<button class="ghost" type="button">Download all</button>'))
|
||||
|
||||
def test_watchlist_page_renders_alternative_titles_toggle(self):
|
||||
self.assertIn("Alternative titles", APP.WATCHLIST_HTML)
|
||||
|
||||
Reference in New Issue
Block a user