Fakultas Ilmu Komputer UI

Commit 5c3353ac authored by Kevin Albert Simanjuntak's avatar Kevin Albert Simanjuntak
Browse files

fixed functional_tests.py

parent ce2962f1
Pipeline #19960 passed with stage
in 37 seconds
......@@ -15,10 +15,9 @@ class NewVisitorTest(unittest.TestCase):
self.browser.get('http://localhost:8000/homepage')
# She notices the page title and header mention to-do lists
head_text = self.browser.find_element_by_tag_name('head').text
body_text = self.browser.find_element_by_tag_name('body').text
self.assertIn('To-Do', self.browser.title)
self.assertIn('Kevin Albert Simanjuntak', paragraph1_text)
self.assertIn('Kevin Albert Simanjuntak', body_text)
self.assertIn('NPM', body_text)
# She is invited to enter a to-do item straight away
......
Supports Markdown
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