Fakultas Ilmu Komputer UI

Commit 7cf069aa authored by jordan's avatar jordan
Browse files

[RED] Make some functional test

parent a62ba1cc
from .base import FunctionalTest
from selenium import webdriver
class HeaderAndFooter(FunctionalTest):
def test_header_and_footer(self):
header_1 = self.browser.find_element_by_id('header_1').text
self.assertIn('Jordan To Do list App', header_1)
footer_1 = self.browser.find_element_by_id('footer_1').text
self.assertIn('Copyright', footer_1)
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