From c2073816d1181797c44a6549334762e6501315d8 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 29 May 2020 16:59:22 +0100 Subject: prettifying the incident report page a bit --- ctrack/users/tests/test_functional.py | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'ctrack/users/tests') 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") -- cgit v1.2.3