mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
updated to main
This commit is contained in:
parent
e7936cef5f
commit
91532adc30
3 changed files with 9 additions and 9 deletions
|
@ -16,7 +16,7 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
<a href="{% namespaced_url 'domain-request' this_step %}"
|
||||
{% if this_step == steps.current %}
|
||||
{% if this_step = steps.current %}
|
||||
class="usa-current"
|
||||
{% else %}
|
||||
class="link_usa-checked"
|
||||
|
|
|
@ -110,8 +110,9 @@
|
|||
{% endif %}
|
||||
|
||||
{% if DomainRequest.creator %}
|
||||
{% include "includes/summary_item.html" with title='Your contact information' value=DomainRequest.creator contact='true' heading_level=heading_level %}
|
||||
|
||||
{% include "includes/summary_item.html" with title='Your contact information' value=DomainRequest.creator contact='true' heading_level=heading_level %}
|
||||
{% endif %}
|
||||
|
||||
{% if DomainRequest.other_contacts.all %}
|
||||
{% include "includes/summary_item.html" with title='Other employees from your organization' value=DomainRequest.other_contacts.all contact='true' list='true' heading_level=heading_level %}
|
||||
{% else %}
|
||||
|
|
|
@ -510,8 +510,6 @@ class HomeTests(TestWithUser):
|
|||
)
|
||||
self.client.force_login(restricted_user)
|
||||
response = self.client.get("/request/", follow=True)
|
||||
print('response')
|
||||
print(response)
|
||||
self.assertEqual(response.status_code, 403)
|
||||
restricted_user.delete()
|
||||
|
||||
|
@ -772,6 +770,7 @@ class FinishUserProfileTests(TestWithUser, WebTest):
|
|||
self.assertContains(completed_setup_page, "You’re about to start your .gov domain request")
|
||||
incomplete_regular_user.delete()
|
||||
|
||||
|
||||
class FinishUserProfileForOtherUsersTests(TestWithUser, WebTest):
|
||||
"""A series of tests that target the user profile page intercept for incomplete IAL1 user profiles."""
|
||||
|
||||
|
@ -952,7 +951,7 @@ class UserProfileTests(TestWithUser, WebTest):
|
|||
with override_flag("profile_feature", active=True):
|
||||
response = self.client.get("/user-profile", follow=True)
|
||||
self.assertContains(response, "Your profile")
|
||||
|
||||
|
||||
@less_console_noise_decorator
|
||||
def test_user_profile_back_button_when_coming_from_domain_request(self):
|
||||
"""tests user profile when profile_feature is on,
|
||||
|
@ -972,7 +971,7 @@ class UserProfileTests(TestWithUser, WebTest):
|
|||
|
||||
@less_console_noise_decorator
|
||||
def test_domain_your_contact_information(self):
|
||||
"""test that Your contact information is not accessible """
|
||||
"""test that Your contact information is not accessible"""
|
||||
response = self.client.get(f"/domain/{self.domain.id}/your-contact-information", follow=True)
|
||||
self.assertEqual(response.status_code, 404)
|
||||
|
||||
|
@ -992,7 +991,7 @@ class UserProfileTests(TestWithUser, WebTest):
|
|||
senior_official=contact_user,
|
||||
submitter=contact_user,
|
||||
)
|
||||
|
||||
|
||||
response = self.client.get(f"/domain-request/{domain_request.id}", follow=True)
|
||||
self.assertContains(response, "Your profile")
|
||||
response = self.client.get(f"/domain-request/{domain_request.id}/withdraw", follow=True)
|
||||
|
@ -1072,4 +1071,4 @@ class PortfoliosTests(TestWithUser, WebTest):
|
|||
|
||||
self.assertNotContains(home_page, self.portfolio.organization_name)
|
||||
|
||||
self.assertContains(home_page, 'id="domain-requests-header"')
|
||||
self.assertContains(home_page, 'id="domain-requests-header"')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue