Skip to content

Commit

Permalink
delete theme test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavell94000 committed Sep 26, 2019
1 parent b395c17 commit 41fbe68
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions apps/misc_tests/test_selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,15 @@ def test_filebrowser_markdown_mathjax(self):
self.b.switch_to.window(window_before)


def test_filebrowser_theme(self):
self.visit(reverse("editor:index"))
self.connect("login", "secret")
e = self.b.find_element_by_id("nav-action-theme")
self.assertTrue(self.b.find_element_by_css_selector('body[class="light-theme"]'))
self.assertFalse(self.b.find_elements_by_css_selector('body[class="dark-theme"]'))
e.click()
self.assertFalse(self.b.find_elements_by_css_selector('body[class="light-theme"]'))
self.assertTrue(self.b.find_element_by_css_selector('body[class="dark-theme"]'))
# def test_filebrowser_theme(self):
# self.visit(reverse("editor:index"))
# self.connect("login", "secret")
# e = self.b.find_element_by_id("nav-action-theme")
# self.assertTrue(self.b.find_element_by_css_selector('body[class="light-theme"]'))
# self.assertFalse(self.b.find_elements_by_css_selector('body[class="dark-theme"]'))
# e.click()
# self.assertFalse(self.b.find_elements_by_css_selector('body[class="light-theme"]'))
# self.assertTrue(self.b.find_element_by_css_selector('body[class="dark-theme"]'))


def test_components_doc(self):
Expand Down

0 comments on commit 41fbe68

Please sign in to comment.