deleted redundant assertions from apps.dashboard.tests; removed redundant table code from home.html now that list.html includes it; updated FTs to accomodate the title change to "Dashboard" in home.html

This commit is contained in:
Disco DeDisco
2026-01-02 20:01:23 -05:00
parent 61c2c1bcb3
commit 87e40d977c
3 changed files with 4 additions and 11 deletions

View File

@@ -33,9 +33,9 @@ class NewVisitorTest(LiveServerTestCase):
def test_can_start_a_todo_list(self):
self.browser.get(self.live_server_url)
self.assertIn("To-Do", self.browser.title)
self.assertIn('Dashboard', self.browser.title)
header_text = self.browser.find_element(By.TAG_NAME, 'h1').text
self.assertIn('To-Do', header_text)
self.assertIn('Dashboard', header_text)
inputbox = self.browser.find_element(By.ID, 'id-new-item')
self.assertEqual(inputbox.get_attribute('placeholder'), 'Enter a to-do item')