apps.lyric.views updated with simpler FBV & test functionality for user login & authentication (some mocking employed); FT in test_simple_list_creation updated for new base.html content from several commits previous, now only FT not passing (to be expected) is under test_login
This commit is contained in:
@@ -10,9 +10,9 @@ class NewVisitorTest(FunctionalTest):
|
||||
def test_can_start_a_todo_list(self):
|
||||
self.browser.get(self.live_server_url)
|
||||
|
||||
self.assertIn('Dashboard', self.browser.title)
|
||||
self.assertIn('Earthman RPG', self.browser.title)
|
||||
header_text = self.browser.find_element(By.TAG_NAME, 'h1').text
|
||||
self.assertIn('Dashboard', header_text)
|
||||
self.assertIn('Welcome', header_text)
|
||||
|
||||
inputbox = self.get_item_input_box()
|
||||
self.assertEqual(inputbox.get_attribute('placeholder'), 'Enter a to-do item')
|
||||
|
||||
Reference in New Issue
Block a user