diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-26 19:22:24 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-26 19:22:24 +0100 |
commit | 597926cde0980b69280f0064d9a8fac6e5a00da9 (patch) | |
tree | 75dd4d64dc0164a26ba6e3c07b8219582f5889eb /ctrack/users/tests/test_functional.py | |
parent | ff888a7ea215caad5b16ed9f8f65919a7e1a33b0 (diff) |
changed name of person more suitable to testing view client
Diffstat (limited to 'ctrack/users/tests/test_functional.py')
-rw-r--r-- | ctrack/users/tests/test_functional.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrack/users/tests/test_functional.py b/ctrack/users/tests/test_functional.py index 8d459a2..8fcc285 100644 --- a/ctrack/users/tests/test_functional.py +++ b/ctrack/users/tests/test_functional.py @@ -34,3 +34,6 @@ def test_user_can_log_in(browser, person, live_server): # On the other side, he sees some basic details about himself. assert "User: toss" in browser.title + + # Such as his own name in an H1 tag! + assert browser.find_element_by_tag_name("H1") == "Toss McBride" |