Commit 91fe85c1 authored by Santino Campos's avatar Santino Campos

Update functional test to test for list of heroes appearing

parent 7da66586
...@@ -19,6 +19,8 @@ class NewVisitorTest(unittest.TestCase): ...@@ -19,6 +19,8 @@ class NewVisitorTest(unittest.TestCase):
# She sees a list containing three heroes with their corresponding # She sees a list containing three heroes with their corresponding
# names, health points, and damage # names, health points, and damage
self.assertIn('<ol> <li> Sunflowey 10HP 5DMG </li> <li> Jestey 20HP 1DMG</li> <li> Cloud 1HP 100DMG </li> </ol>', self.browser.page_source)
# 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).
......
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