diff options
author | luxagraf <sng@luxagraf.net> | 2018-11-14 13:17:42 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-11-14 13:17:42 -0600 |
commit | a0b95dc2dfb84c682bb8f677e5d471f84e5028fe (patch) | |
tree | 6dd1919856f736c5b644270d59b57e4bb20336c5 /functional_tests.py |
wrote out basic notes skeleton
Diffstat (limited to 'functional_tests.py')
-rw-r--r-- | functional_tests.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/functional_tests.py b/functional_tests.py new file mode 100644 index 0000000..9eedef4 --- /dev/null +++ b/functional_tests.py @@ -0,0 +1,12 @@ +from selenium import webdriver + + +options = webdriver.ChromeOptions() +options.add_argument('--headless') +options.add_argument('--disable-gpu') +browser = webdriver.Chrome("/usr/local/bin/chromedriver", chrome_options=options) +browser.get('http://127.0.0.1:8000') +assert 'Django' in browser.title +browser.get('http://127.0.0.1:8000/admin/') +assert 'Django' in browser.title + |