mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 10:29:23 +02:00
Update modal heading in tests
This commit is contained in:
parent
3a1968e67e
commit
2aa9eafc47
1 changed files with 2 additions and 2 deletions
|
@ -785,7 +785,7 @@ class DomainRequestTests(TestWithUser, WebTest):
|
||||||
# The next assert also tests for the passed requested domain context from
|
# The next assert also tests for the passed requested domain context from
|
||||||
# the view > domain_request_form > modal
|
# the view > domain_request_form > modal
|
||||||
self.assertNotContains(review_page, "You are about to submit a domain request for city.gov")
|
self.assertNotContains(review_page, "You are about to submit a domain request for city.gov")
|
||||||
self.assertContains(review_page, "You can’t submit this request because it’s incomplete.")
|
self.assertContains(review_page, "Your request form is incomplete.")
|
||||||
|
|
||||||
# This is the start of a test to check an existing domain_request, it currently
|
# This is the start of a test to check an existing domain_request, it currently
|
||||||
# does not work and results in errors as noted in:
|
# does not work and results in errors as noted in:
|
||||||
|
@ -2705,7 +2705,7 @@ class DomainRequestTests(TestWithUser, WebTest):
|
||||||
|
|
||||||
review_page = self.app.get(reverse("domain-request:review"))
|
review_page = self.app.get(reverse("domain-request:review"))
|
||||||
self.assertContains(review_page, "toggle-submit-domain-request")
|
self.assertContains(review_page, "toggle-submit-domain-request")
|
||||||
self.assertContains(review_page, "You can’t submit this request because it’s incomplete.")
|
self.assertContains(review_page, "Your request form is incomplete.")
|
||||||
|
|
||||||
|
|
||||||
class DomainRequestTestDifferentStatuses(TestWithUser, WebTest):
|
class DomainRequestTestDifferentStatuses(TestWithUser, WebTest):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue