Commit 626d1d60 authored by Lance Michael O. Co's avatar Lance Michael O. Co 😢

refactored functional_test.py

parent 950ce4d1
...@@ -58,7 +58,7 @@ class NewVisitorTest(unittest.TestCase): ...@@ -58,7 +58,7 @@ class NewVisitorTest(unittest.TestCase):
'http://localhost:8000/ingredients/list', 'http://localhost:8000/ingredients/list',
self.browser.current_url self.browser.current_url
) )
#user checks page title to ensure he's in the right page #user checks page title to ensure he's in the right page
self.assertIn('Ingredients - List', self.browser.title) self.assertIn('Ingredients - List', self.browser.title)
...@@ -247,6 +247,8 @@ class NewVisitorTest(unittest.TestCase): ...@@ -247,6 +247,8 @@ class NewVisitorTest(unittest.TestCase):
self.browser.current_url self.browser.current_url
) )
self.browser.get('http://localhost:8000/orders/list')
#user checks page title to ensure he's in the right page #user checks page title to ensure he's in the right page
self.assertIn('Orders - List', self.browser.title) self.assertIn('Orders - List', self.browser.title)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment