mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
Fix unit tests
This commit is contained in:
parent
d62993bf27
commit
6c22cf7169
2 changed files with 10 additions and 22 deletions
|
@ -390,53 +390,41 @@ address.margin-top-neg-1__detail-list {
|
||||||
margin-top: 5px !important;
|
margin-top: 5px !important;
|
||||||
}
|
}
|
||||||
// Mimic the normal label size
|
// Mimic the normal label size
|
||||||
dt {
|
address, dt {
|
||||||
font-size: 0.8125rem;
|
|
||||||
color: var(--body-quiet-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
address {
|
|
||||||
font-size: 0.8125rem;
|
font-size: 0.8125rem;
|
||||||
color: var(--body-quiet-color);
|
color: var(--body-quiet-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td button.usa-button__clipboard-link, address.dja-address-contact-list {
|
||||||
|
font-size: 0.8125rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
address.dja-address-contact-list {
|
address.dja-address-contact-list {
|
||||||
font-size: 0.8125rem;
|
|
||||||
color: var(--body-quiet-color);
|
color: var(--body-quiet-color);
|
||||||
button.usa-button__clipboard-link {
|
button.usa-button__clipboard-link {
|
||||||
font-size: 0.8125rem !important;
|
font-size: 0.8125rem !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
td button.usa-button__clipboard-link {
|
|
||||||
font-size: 0.8125rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Mimic the normal label size
|
// Mimic the normal label size
|
||||||
@media (max-width: 1024px){
|
@media (max-width: 1024px){
|
||||||
.dja-detail-list dt {
|
.dja-detail-list dt, .dja-detail-list address {
|
||||||
font-size: 0.875rem;
|
|
||||||
color: var(--body-quiet-color);
|
|
||||||
}
|
|
||||||
.dja-detail-list address {
|
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
color: var(--body-quiet-color);
|
color: var(--body-quiet-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
address button.usa-button__clipboard-link {
|
address button.usa-button__clipboard-link, td button.usa-button__clipboard-link {
|
||||||
font-size: 0.875rem !important;
|
font-size: 0.875rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
td button.usa-button__clipboard-link {
|
|
||||||
font-size: 0.875rem !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.errors span.select2-selection {
|
.errors span.select2-selection {
|
||||||
border: 1px solid var(--error-fg) !important;
|
border: 1px solid var(--error-fg) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make the clipboard button "float" inside of the input box
|
||||||
.admin-icon-group {
|
.admin-icon-group {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -1306,7 +1306,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
("title", "Treat inspector"),
|
("title", "Treat inspector"),
|
||||||
("email", "meoward.jones@igorville.gov"),
|
("email", "meoward.jones@igorville.gov"),
|
||||||
("phone", "(555) 123 12345"),
|
("phone", "(555) 123 12345"),
|
||||||
("email_copy_button_input", f'<input class="dja-clipboard-input" type="hidden" value="{expected_email}"'),
|
("email_copy_button_input", f"{expected_email}</button>"),
|
||||||
]
|
]
|
||||||
self.test_helper.assert_response_contains_distinct_values(response, expected_creator_fields)
|
self.test_helper.assert_response_contains_distinct_values(response, expected_creator_fields)
|
||||||
|
|
||||||
|
@ -2035,7 +2035,7 @@ class TestDomainInformationAdmin(TestCase):
|
||||||
("title", "Treat inspector"),
|
("title", "Treat inspector"),
|
||||||
("email", "meoward.jones@igorville.gov"),
|
("email", "meoward.jones@igorville.gov"),
|
||||||
("phone", "(555) 123 12345"),
|
("phone", "(555) 123 12345"),
|
||||||
("email_copy_button_input", f'<input class="dja-clipboard-input" type="hidden" value="{expected_email}"'),
|
("email_copy_button_input", f"{expected_email}</button>"),
|
||||||
]
|
]
|
||||||
self.test_helper.assert_response_contains_distinct_values(response, expected_creator_fields)
|
self.test_helper.assert_response_contains_distinct_values(response, expected_creator_fields)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue