This commit is contained in:
Beverly Nguyen
2025-12-01 17:45:47 -08:00
parent 40f51895d4
commit 7b820ed55a
2 changed files with 5 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ def test_cancel_invited_org_user_cancels_user_invitations(
invited_user_id=sample_org_invite["id"], invited_user_id=sample_org_invite["id"],
_follow_redirects=True, _follow_redirects=True,
) )
assert normalize_spaces(page.h1.text) == "Team members" assert normalize_spaces(page.h1.text) == "Organization administrators"
flash_banner = normalize_spaces( flash_banner = normalize_spaces(
page.select_one(".usa-alert--success .usa-alert__text").text page.select_one(".usa-alert--success .usa-alert__text").text
) )

View File

@@ -839,7 +839,7 @@ def test_edit_organization_user_shows_the_delete_confirmation_banner(
user_id=active_user_with_permissions["id"], user_id=active_user_with_permissions["id"],
) )
assert normalize_spaces(page.h1) == "Team members" assert normalize_spaces(page.h1) == "Organization administrators"
banner = page.select_one(".usa-alert--error") banner = page.select_one(".usa-alert--error")
banner_text = banner.select_one(".usa-alert__text") banner_text = banner.select_one(".usa-alert__text")
@@ -1622,7 +1622,7 @@ def test_organization_dashboard_shows_service_counts(
assert "3" in normalize_spaces(service_box.text) assert "3" in normalize_spaces(service_box.text)
assert "1 Live" in normalize_spaces(service_box.text) assert "1 Live" in normalize_spaces(service_box.text)
assert "1 Trial" in normalize_spaces(service_box.text) assert "1 Trial" in normalize_spaces(service_box.text)
assert "1 Suspended" in normalize_spaces(service_box.text) assert "1 Archived" in normalize_spaces(service_box.text)
def test_organization_dashboard_services_table( def test_organization_dashboard_services_table(
@@ -1699,7 +1699,7 @@ def test_organization_dashboard_services_table(
assert normalize_spaces(first_row_cells[1].text) == "Live" assert normalize_spaces(first_row_cells[1].text) == "Live"
assert "1,500 emails" in normalize_spaces(first_row_cells[2].text) assert "1,500 emails" in normalize_spaces(first_row_cells[2].text)
assert "500 sms" in normalize_spaces(first_row_cells[2].text) assert "500 sms" in normalize_spaces(first_row_cells[2].text)
assert "249,500 remaining" in normalize_spaces(first_row_cells[2].text) assert "249,500 message parts remaining" in normalize_spaces(first_row_cells[2].text)
assert normalize_spaces(first_row_cells[3].text) == "N/A" assert normalize_spaces(first_row_cells[3].text) == "N/A"
assert normalize_spaces(first_row_cells[4].text) == "Welcome SMS" assert normalize_spaces(first_row_cells[4].text) == "Welcome SMS"
@@ -1708,7 +1708,7 @@ def test_organization_dashboard_services_table(
assert normalize_spaces(second_row_cells[1].text) == "Trial" assert normalize_spaces(second_row_cells[1].text) == "Trial"
assert "250 emails" in normalize_spaces(second_row_cells[2].text) assert "250 emails" in normalize_spaces(second_row_cells[2].text)
assert "100 sms" in normalize_spaces(second_row_cells[2].text) assert "100 sms" in normalize_spaces(second_row_cells[2].text)
assert "249,900 remaining" in normalize_spaces(second_row_cells[2].text) assert "249,900 message parts remaining" in normalize_spaces(second_row_cells[2].text)
assert normalize_spaces(second_row_cells[3].text) == "N/A" assert normalize_spaces(second_row_cells[3].text) == "N/A"
assert normalize_spaces(second_row_cells[4].text) == "Reminder SMS" assert normalize_spaces(second_row_cells[4].text) == "Reminder SMS"