Fakultas Ilmu Komputer UI

Commit 3e1fbf42 authored by Kevin Albert Simanjuntak's avatar Kevin Albert Simanjuntak
Browse files

change functional_test

parent 9c013268
......@@ -12,13 +12,16 @@ class NewVisitorTest(unittest.TestCase):
def test_can_start_a_list_and_retrieve_it_later(self):
# Edith has heard about a cool new online to-do app. She goes
# to check out its homepage
# She notices the page title and header mention to-do lists
self.assertIn('To-Do', self.browser.title)
self.fail('Finish the test!')
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('NPM', body_text)
# She is invited to enter a to-do item straight away
if __name__ == '__main__':
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
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