This commit is contained in:
Jon Roberts 2023-03-06 16:12:09 -05:00
parent eada4e9e23
commit 26269648ce
No known key found for this signature in database
GPG key ID: EED093582198B041

View file

@ -139,7 +139,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
type_form = type_page.form type_form = type_page.form
type_form["organization_type-organization_type"] = "federal" type_form["organization_type-organization_type"] = "federal"
# test next button and validate data # test next button and validate data
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
type_result = type_page.form.submit() type_result = type_page.form.submit()
@ -188,7 +187,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
org_contact_form["organization_contact-zipcode"] = "10002" org_contact_form["organization_contact-zipcode"] = "10002"
org_contact_form["organization_contact-urbanization"] = "URB Royal Oaks" org_contact_form["organization_contact-urbanization"] = "URB Royal Oaks"
# test next button # test next button
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
org_contact_result = org_contact_form.submit() org_contact_result = org_contact_form.submit()
@ -220,7 +218,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
ao_form["authorizing_official-email"] = "testy@town.com" ao_form["authorizing_official-email"] = "testy@town.com"
ao_form["authorizing_official-phone"] = "(201) 555 5555" ao_form["authorizing_official-phone"] = "(201) 555 5555"
# test next button # test next button
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
ao_result = ao_form.submit() ao_result = ao_form.submit()
@ -267,7 +264,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
dotgov_form["dotgov_domain-requested_domain"] = "city" dotgov_form["dotgov_domain-requested_domain"] = "city"
dotgov_form["dotgov_domain-0-alternative_domain"] = "city1" dotgov_form["dotgov_domain-0-alternative_domain"] = "city1"
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
dotgov_result = dotgov_form.submit() dotgov_result = dotgov_form.submit()
# validate that data from this step are being saved # validate that data from this step are being saved
@ -313,7 +309,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
your_contact_form["your_contact-email"] = "testy-admin@town.com" your_contact_form["your_contact-email"] = "testy-admin@town.com"
your_contact_form["your_contact-phone"] = "(201) 555 5556" your_contact_form["your_contact-phone"] = "(201) 555 5556"
# test next button # test next button
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
your_contact_result = your_contact_form.submit() your_contact_result = your_contact_form.submit()
@ -342,7 +337,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
other_contacts_form["other_contacts-0-email"] = "testy2@town.com" other_contacts_form["other_contacts-0-email"] = "testy2@town.com"
other_contacts_form["other_contacts-0-phone"] = "(201) 555 5557" other_contacts_form["other_contacts-0-phone"] = "(201) 555 5557"
# test next button # test next button
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
other_contacts_result = other_contacts_form.submit() other_contacts_result = other_contacts_form.submit()