Fakultas Ilmu Komputer UI

Commit efa2444f authored by Jordan Muhammad Andrianda's avatar Jordan Muhammad Andrianda
Browse files

Merge branch 'uastakehomeprogramming' into 'master'

[RED] Make some functional test

See merge request !14
parents a62ba1cc 01c7b193
from .base import FunctionalTest
from selenium import webdriver
class HeaderAndFooter(FunctionalTest):
def test_header_and_footer(self):
self.browser.get(self.live_server_url)
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