Skip to content

Commit 336f2f9

Browse files
committed
add GET smoke test
1 parent bc59138 commit 336f2f9

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

tests/test_get_pages_jinja_integration.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ def test_all_jinja_checked_read_routes_are_in_runtime_matrix(self, route_context
124124
}
125125
runtime_reads.add("read_reset_password")
126126
runtime_reads.add("recover_account_confirm")
127+
runtime_reads.add("read_billing")
127128

128129
uncovered = checked_reads - runtime_reads
129130
assert not uncovered, (
@@ -199,6 +200,21 @@ def test_recover_page_renders(
199200
assert_full_page_rendered(response)
200201
assert "recover" in response.text.lower()
201202

203+
def test_billing_page_renders(
204+
self,
205+
auth_client_owner,
206+
test_organization,
207+
missing_context_variables,
208+
):
209+
assert not missing_context_variables
210+
assert test_organization.id is not None
211+
response = auth_client_owner.get(
212+
_url("read_billing", org_id=test_organization.id)
213+
)
214+
assert_full_page_rendered(response)
215+
assert "Organization billing" in response.text
216+
assert "Pro plan" in response.text
217+
202218
def test_register_with_invitation_token_renders(
203219
self, unauth_client, test_invitation, missing_context_variables
204220
):

0 commit comments

Comments
 (0)