diff --git a/src/registrar/templates/domain_request_sidebar.html b/src/registrar/templates/domain_request_sidebar.html index 894d4576a..b7abede5c 100644 --- a/src/registrar/templates/domain_request_sidebar.html +++ b/src/registrar/templates/domain_request_sidebar.html @@ -15,12 +15,12 @@ {% endif %} {% endif %} - + {% endif%}> {{ form_titles|get_item:this_step }} diff --git a/src/registrar/tests/test_models.py b/src/registrar/tests/test_models.py index d4944d5f4..8390e0bbf 100644 --- a/src/registrar/tests/test_models.py +++ b/src/registrar/tests/test_models.py @@ -256,14 +256,6 @@ class TestDomainRequest(TestCase): email_allowed.delete() - @less_console_noise_decorator - def test_submit_from_started_sends_email(self): - msg = "Create a domain request and submit it and see if email was sent." - domain_request = completed_domain_request(user=self.dummy_user_2) - self.check_email_sent( - domain_request, msg, "submit", 1, expected_content="Lava", expected_email=self.dummy_user_2.email - ) - @override_flag("profile_feature", active=True) @less_console_noise_decorator def test_submit_from_started_sends_email_to_creator(self): diff --git a/src/registrar/tests/test_views.py b/src/registrar/tests/test_views.py index f43cd8228..a615d4207 100644 --- a/src/registrar/tests/test_views.py +++ b/src/registrar/tests/test_views.py @@ -957,13 +957,6 @@ class UserProfileTests(TestWithUser, WebTest): self.assertContains(response, "Your profile") self.assertNotContains(response, "Your contact information") - @less_console_noise_decorator - def test_domain_your_contact_information_when_profile_feature_off(self): - """test that Your contact information is accessible when profile_feature is off""" - with override_flag("profile_feature", active=False): - response = self.client.get(f"/domain/{self.domain.id}/your-contact-information", follow=True) - self.assertContains(response, "Your contact information") - @less_console_noise_decorator def test_domain_your_contact_information_when_profile_feature_on(self): """test that Your contact information is not accessible when profile feature is on""" @@ -992,31 +985,6 @@ class UserProfileTests(TestWithUser, WebTest): response = self.client.get(f"/domain-request/{domain_request.id}/withdraw", follow=True) self.assertContains(response, "Your profile") - @less_console_noise_decorator - def test_request_when_profile_feature_off(self): - """test that Your profile is not in request page when profile feature is off""" - - contact_user, _ = Contact.objects.get_or_create( - first_name="Hank", - last_name="McFakerson", - ) - site = DraftDomain.objects.create(name="igorville.gov") - domain_request = DomainRequest.objects.create( - creator=self.user, - requested_domain=site, - status=DomainRequest.DomainRequestStatus.SUBMITTED, - senior_official=contact_user, - submitter=contact_user, - ) - with override_flag("profile_feature", active=False): - response = self.client.get(f"/domain-request/{domain_request.id}", follow=True) - self.assertNotContains(response, "Your profile") - response = self.client.get(f"/domain-request/{domain_request.id}/withdraw", follow=True) - self.assertNotContains(response, "Your profile") - # cleanup - domain_request.delete() - site.delete() - @less_console_noise_decorator def test_user_profile_form_submission(self): """test user profile form submission"""