removed check since the domain and domain requests are in the navigation bar

This commit is contained in:
asaki222 2024-11-08 13:52:07 -05:00
parent e9b858814c
commit fa7fd60163
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4

View file

@ -3158,11 +3158,6 @@ class TestDomainRequestWizard(TestWithUser, WebTest):
expected_url = reverse("domain-request:portfolio_requesting_entity")
# This returns the entire url, thus "in"
self.assertIn(expected_url, detail_page.request.url)
# We shouldn't show the "domains" and "domain requests" buttons
# on this page.
self.assertNotContains(detail_page, "Domains")
self.assertNotContains(detail_page, "Domain requests")
else:
self.fail(f"Expected a redirect, but got a different response: {response}")