Commit 04e7ca07 authored by Jay Lopez's avatar Jay Lopez

links redone to be properly functional

parent c845fe22
......@@ -31,7 +31,7 @@ class NewVisitorTest(unittest.TestCase):
selected_hero_link.click()
# She spots the page title and header mentions the name of the hero she selected.
self.assertIn(hero_name, self.browser.title)
self.assertIn('Detail - ' + hero_name, self.browser.title)
# While she is in a specific hero's page, she sees a button labeled "Back to Heroes List".
# She clicks this and she is redirected back to the wiki's homepage.
......@@ -42,6 +42,7 @@ class NewVisitorTest(unittest.TestCase):
self.fail('Finish the test!')
if __name__ == '__main__':
unittest.main(warnings='ignore')
\ No newline at end of file
......@@ -3,8 +3,8 @@
<h1>Will of the Wisps</h1>
<h4>Heroes</h4>
<ul>
<li><a href='/hero/cloud/'>Cloud (600 HP, 57 ATK)</a></li>
<li><a href='/hero/jester/'>Jester (660 HP, 64 ATK)</a></li>
<li><a href='/hero/sunflowey/'>Sunflowey (650 HP, 43 ATK)</a></li>
<li onclick="location.href='../hero/cloud'">Cloud (600 HP, 57 ATK)</li>
<li onclick="location.href='../hero/jester'">Jester (660 HP, 64 ATK)</li>
<li onclick="location.href='../hero/sunflowey'">Sunflowey (650 HP, 43 ATK)</li>
</ul>
</html>
\ No newline at end of file
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