'theme_switcher,' 'theme-picker' & 'theme' renamed everywhere to simply 'palette'; new urls & views & their corresponding ITs ensure applet menu checkbox functionality
This commit is contained in:
10
src/functional_tests/test_applet_palette.py
Normal file
10
src/functional_tests/test_applet_palette.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from selenium.webdriver.common.by import By
|
||||
|
||||
from .base import FunctionalTest
|
||||
|
||||
|
||||
class SiteThemeTest(FunctionalTest):
|
||||
def test_page_renders_with_earthman_palette(self):
|
||||
self.browser.get(self.live_server_url)
|
||||
body = self.browser.find_element(By.TAG_NAME, "body")
|
||||
self.assertIn("palette-default", body.get_attribute("class"))
|
||||
Reference in New Issue
Block a user