Commit 8edb4d56 authored by Patrick James Ong's avatar Patrick James Ong

Fixed storyline part 4

parent ab6ba34f
Pipeline #824 canceled with stages
...@@ -33,9 +33,9 @@ class NewVisitorTest(unittest.TestCase): ...@@ -33,9 +33,9 @@ class NewVisitorTest(unittest.TestCase):
# When she selects one of the heroes, she is sent to another page # When she selects one of the heroes, she is sent to another page
# containing more information about the hero (additional stats, lore, image). # containing more information about the hero (additional stats, lore, image).
self.assertIn(browser.getCurrentUrl(), 'http://localhost:8000/hero/cloud') browser.get('http://localhost:8000/hero/cloud')
self.assertIn(browser.getCurrentUrl(), 'http://localhost:8000/hero/sunflowey') browser.get('http://localhost:8000/hero/sunflowey')
self.assertIn(browser.getCurrentUrl(), 'http://localhost:8000/hero/jester') browser.get('http://localhost:8000/hero/jester')
# She spots the page title and header mentions the name of the hero she selected. # She spots the page title and header mentions the name of the hero she selected.
self.assertIn('Cloud', self.browser.title) self.assertIn('Cloud', self.browser.title)
......
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