Commit 493b8d98 authored by Keith Adrian Santos's avatar Keith Adrian Santos

updated the list checker

parent 70f1f870
Pipeline #792 failed with stages
......@@ -20,9 +20,11 @@ class NewVisitorTest(unittest.TestCase):
# She sees a list containing three heroes with their corresponding
# names, health points, and damage
listtext = self.browser.find_element_by_tag_name('li').text
self.assertTrue('Cloud' in listtext)
textholder = self.browser.find_element_by_tag_name('li').text
self.assertTrue('Cloud', '600', '57' in textholder)
self.assertTrue('Jester', '660', '64' in textholder)
self.assertTrue('Sunflowey', '650', '43' in textholder)
# When she selects one of the heroes, she is sent to another page
# 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