Commit 78b8cc53 authored by Margarita Perez's avatar Margarita Perez

Made new changes to the detail html files etc

parent bf86c8db
This diff is collapsed.
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title id ="title">Detail - Cloud</title> <title>Detail - Cloud</title>
</head> </head>
<body> <body>
<img src="./cloud.png" style="width: 10vw;" /> <img src="./cloud.png" style="width: 10vw;" />
<h1>Detail - Cloud</h1> <h1 id="cloud">Detail - Cloud</h1>
<dl> <dl>
<dt>Health Points</dt><dd>600</dd> <dt>Health Points</dt><dd>600</dd>
<dt>Base Attack Damage</dt><dd>57</dd> <dt>Base Attack Damage</dt><dd>57</dd>
<dt>Skills</dt><dd>Nimbus, Rain Cloud, Thunderbolt</dd> <dt>Skills</dt><dd id ="cloudSkills">Nimbus, Rain Cloud, Thunderbolt</dd>
<dt>Lore</dt><dd>I am a cloud. When I pee you call it 'rain'.</dd> <dt>Lore</dt><dd id ="cloudLore">I am a cloud. When I pee you call it "rain".</dd>
<dt><a href="/heroes/">Back to Heroes List</a></dt> <dt><a href="/heroes/">Back to Heroes List</a></dt>
</dl> </dl>
</body> </body>
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
<dl> <dl>
<dt>Health Points</dt><dd>660</dd> <dt>Health Points</dt><dd>660</dd>
<dt>Base Attack Damage</dt><dd>64</dd> <dt>Base Attack Damage</dt><dd>64</dd>
<dt>Skills</dt><dd>Laugh, Dance, Smile</dd> <dt>Skills</dt><dd id ="jesterSkills">Laugh, Dance, Smile</dd>
<dt>Lore</dt><dd>I do it for the LOLs.</dd> <dt>Lore</dt><dd id ="jesterLore">I do it for the LOLs.</dd>
<dt><a href="/heroes/">Back to Heroes List</a></dt> <dt><a href="/heroes/">Back to Heroes List</a></dt>
</dl> </dl>
</body> </body>
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
<dl> <dl>
<dt>Health Points</dt><dd>650</dd> <dt>Health Points</dt><dd>650</dd>
<dt>Base Attack Damage</dt><dd>43</dd> <dt>Base Attack Damage</dt><dd>43</dd>
<dt>Skills</dt><dd>Power Pellet, Sunshine, Pollen Punch</dd> <dt>Skills</dt><dd id ="sunfloweykills" >Power Pellet, Sunshine, Pollen Punch</dd>
<dt>Lore</dt><dd>I am Sunflowey. Sometimes a sun, sometimes a flower.</dd> <dt>Lore</dt><dd id ="sunfloweyLore">I am Sunflowey. Sometimes a sun, sometimes a flower.</dd>
<dt><a href="/heroes/">Back to Heroes List</a></dt> <dt><a href="/heroes/">Back to Heroes List</a></dt>
</dl> </dl>
</body> </body>
......
<!DOCTYPE html>
<html>
<head>
<title>The Will of the Wisps Wiki</title>
</head>
<body>
<h1>The Will of the Wisps Wiki</h1>
<dl>
<dt><a href="/hero/cloud">Cloud</a></dt>
<dt>Health Points</dt><dd>600</dd>
<dt>Base Attack Damage</dt><dd>57</dd>
<dt><a href="/hero/jester">Jester</a></dt>
<dt>Health Points</dt><dd>660</dd>
<dt>Base Attack Damage</dt><dd>64</dd>
<dt><a href="/hero/sunflowey">Sunflowey</a></dt>
<dt>Health Points</dt><dd>650</dd>
<dt>Base Attack Damage</dt><dd>43</dd>
</dl>
</body>
</html>
\ No newline at end of file
...@@ -72,10 +72,18 @@ class NewVisitorTest(unittest.TestCase): ...@@ -72,10 +72,18 @@ class NewVisitorTest(unittest.TestCase):
# 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.
#cloud #cloud
self.browser.find_element_by_link_text('cloud').click() self.browser.find_element_by_link_text('cloud').click()
self.assertIn('/hero/cloud/', self.browser.current_url) self.assertIn('/hero/cloud', self.browser.current_url)
self.assertIn('Cloud', self.browser.title) self.assertIn('Cloud', self.browser.title)
#jester
self.browser.find_element_by_link_text('jester').click()
self.assertIn('/hero/jester', self.browser.current_url)
self.assertIn('Jester', self.browser.title)
#sunflowey
self.browser.find_element_by_link_text('sunflowey').click()
self.assertIn('/hero/sunflowey', self.browser.current_url)
self.assertIn('Sunflowey', self.browser.title)
# While she is in a specific hero's page, she sees a button labeled "Back to Heroes List". # 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. # She clicks this and she is redirected back to the wiki's homepage.
......
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