diff --git a/app/templates/views/user-profile/confirm.html b/app/templates/views/user-profile/confirm.html
index fb5ae2d05..207a27cb5 100644
--- a/app/templates/views/user-profile/confirm.html
+++ b/app/templates/views/user-profile/confirm.html
@@ -23,7 +23,7 @@
{% call form_wrapper() %}
{{ form_field(param_extensions={
- "classes": "govuk-input govuk-input--width-5",
+ "classes": "usa-input width-15",
"attributes": {"data-module": "autofocus"}
}) }}
diff --git a/tests/app/main/views/organizations/test_organizations.py b/tests/app/main/views/organizations/test_organizations.py
index ccaffda14..3abffc2fb 100644
--- a/tests/app/main/views/organizations/test_organizations.py
+++ b/tests/app/main/views/organizations/test_organizations.py
@@ -1536,7 +1536,7 @@ def test_view_edit_organization_billing_details(
]
for label in labels:
assert label.text.strip() in labels_list
- textbox_names = page.find_all("input", class_="govuk-input ")
+ textbox_names = page.find_all("input", class_="usa-input ")
names_list = [
"billing_contact_email_addresses",
"billing_contact_names",
diff --git a/tests/app/main/views/service_settings/test_service_settings.py b/tests/app/main/views/service_settings/test_service_settings.py
index 2284e61e3..22847e13c 100644
--- a/tests/app/main/views/service_settings/test_service_settings.py
+++ b/tests/app/main/views/service_settings/test_service_settings.py
@@ -4409,7 +4409,7 @@ def test_view_edit_service_billing_details(
]
for label in labels:
assert label.text.strip() in labels_list
- textbox_names = page.find_all("input", class_="govuk-input ")
+ textbox_names = page.find_all("input", class_="usa-input ")
names_list = [
"billing_contact_email_addresses",
"billing_contact_names",
diff --git a/tests/app/main/views/test_send.py b/tests/app/main/views/test_send.py
index 01318d940..69e68e882 100644
--- a/tests/app/main/views/test_send.py
+++ b/tests/app/main/views/test_send.py
@@ -81,11 +81,11 @@ def test_default_email_sender_is_checked_and_has_hint(
".set_sender", service_id=SERVICE_ONE_ID, template_id=fake_uuid
)
- assert page.select(".govuk-radios input")[0].has_attr("checked")
+ assert page.select(".usa-radios input")[0].has_attr("checked")
assert (
- normalize_spaces(page.select_one(".govuk-radios .usa-hint").text) == "(Default)"
+ normalize_spaces(page.select_one(".usa-radios .usa-hint").text) == "(Default)"
)
- assert not page.select(".govuk-radios input")[1].has_attr("checked")
+ assert not page.select(".usa-radios input")[1].has_attr("checked")
def test_default_sms_sender_is_checked_and_has_hint(
@@ -98,11 +98,11 @@ def test_default_sms_sender_is_checked_and_has_hint(
".set_sender", service_id=SERVICE_ONE_ID, template_id=fake_uuid
)
- assert page.select(".govuk-radios input")[0].has_attr("checked")
+ assert page.select(".usa-radios input")[0].has_attr("checked")
assert (
- normalize_spaces(page.select_one(".govuk-radios .usa-hint").text) == "(Default)"
+ normalize_spaces(page.select_one(".usa-radios .usa-hint").text) == "(Default)"
)
- assert not page.select(".govuk-radios input")[1].has_attr("checked")
+ assert not page.select(".usa-radios input")[1].has_attr("checked")
def test_default_sms_sender_is_checked_and_has_hint_when_there_are_no_inbound_numbers(
@@ -115,11 +115,11 @@ def test_default_sms_sender_is_checked_and_has_hint_when_there_are_no_inbound_nu
".set_sender", service_id=SERVICE_ONE_ID, template_id=fake_uuid
)
- assert page.select(".govuk-radios input")[0].has_attr("checked")
+ assert page.select(".usa-radios input")[0].has_attr("checked")
assert (
- normalize_spaces(page.select_one(".govuk-radios .usa-hint").text) == "(Default)"
+ normalize_spaces(page.select_one(".usa-radios .usa-hint").text) == "(Default)"
)
- assert not page.select(".govuk-radios input")[1].has_attr("checked")
+ assert not page.select(".usa-radios input")[1].has_attr("checked")
def test_default_inbound_sender_is_checked_and_has_hint_with_default_and_receives_text(
@@ -133,13 +133,13 @@ def test_default_inbound_sender_is_checked_and_has_hint_with_default_and_receive
".set_sender", service_id=service_one["id"], template_id=fake_uuid
)
- assert page.select(".govuk-radios input")[0].has_attr("checked")
+ assert page.select(".usa-radios input")[0].has_attr("checked")
assert (
- normalize_spaces(page.select_one(".govuk-radios .usa-hint").text)
+ normalize_spaces(page.select_one(".usa-radios .usa-hint").text)
== "(Default and receives replies)"
)
- assert not page.select(".govuk-radios input")[1].has_attr("checked")
- assert not page.select(".govuk-radios input")[2].has_attr("checked")
+ assert not page.select(".usa-radios input")[1].has_attr("checked")
+ assert not page.select(".usa-radios input")[2].has_attr("checked")
def test_sms_sender_has_receives_replies_hint(
@@ -153,13 +153,13 @@ def test_sms_sender_has_receives_replies_hint(
".set_sender", service_id=service_one["id"], template_id=fake_uuid
)
- assert page.select(".govuk-radios input")[0].has_attr("checked")
+ assert page.select(".usa-radios input")[0].has_attr("checked")
assert (
- normalize_spaces(page.select_one(".govuk-radios .usa-hint").text)
+ normalize_spaces(page.select_one(".usa-radios .usa-hint").text)
== "(Default and receives replies)"
)
- assert not page.select(".govuk-radios input")[1].has_attr("checked")
- assert not page.select(".govuk-radios input")[2].has_attr("checked")
+ assert not page.select(".usa-radios input")[1].has_attr("checked")
+ assert not page.select(".usa-radios input")[2].has_attr("checked")
@pytest.mark.parametrize(