aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/users/tests
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-29 16:59:22 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-29 16:59:22 +0100
commitc2073816d1181797c44a6549334762e6501315d8 (patch)
treef4059f4154ddcbdb9fb6ffec4d426d4f147c2f4b /ctrack/users/tests
parentc4f121234adb72274c986577c1775638f9c61632 (diff)
prettifying the incident report page a bit
Diffstat (limited to 'ctrack/users/tests')
-rw-r--r--ctrack/users/tests/test_functional.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/ctrack/users/tests/test_functional.py b/ctrack/users/tests/test_functional.py
index 55f8de3..7c7a742 100644
--- a/ctrack/users/tests/test_functional.py
+++ b/ctrack/users/tests/test_functional.py
@@ -144,25 +144,3 @@ def test_stakeholder_logs_into_system_and_submits_incident_form(
# Gets to the correct page
assert "Submit a new NIS Incident Report to DfT" in browser.title
-
- # The name of her organisation is already there in the first field
- assert (
- browser.find_element_by_id("id_org_field").text
- == user.stakeholder.person.get_organisation_name()
- )
-
- # Her name is already in the "Name of person reporting field"
- assert (
- browser.find_element_by_id("id_person_reporting_field").text
- == user.stakeholder.person
- )
-
- # Her role is already in the "Role" field
- assert browser.find_element_by_id("id_role_field").text == user.stakeholder.role
-
- # Her phone number is already in the "Phone Number" field
- assert (
- browser.find_element_by_id("id_phone_number_field").text
- == user.stakeholder.mobile
- )
- assert pytest.fail("WE GO NO FURTHER")