-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsystem_tests.py
32 lines (24 loc) · 992 Bytes
/
system_tests.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#test the live site
from selenium import webdriver
import unittest
#homepage
class NewVisitorTest(unittest.TestCase):
def setUp(self):
self.browser = webdriver.Firefox()
def tearDown(self):
self.browser.quit()
def test_homepage_has_browser_title(self):
self.browser.get('https://pacific-everglades-16759.herokuapp.com/')
self.assertIn('TampaBored', self.browser.title)
self.tearDown()
#should contain cards with event info
#if no cards then it should say check back later
#should contain list of events
#events should be organized by type
#events should be in order of start date
#in progress events should be differntiated
#events that have ended should not appear
#should contain at least one article
# https://www.quora.com/What-are-all-the-keywords-for-the-new-Google-Calendar-Android-app-that-will-generate-those-beautiful-images-in-the-agenda-view
if __name__ == '__main__':
unittest.main(warnings='ignore')