From b895e9dc6f08f08479b5df42cc001bacf9b76f19 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Sat, 19 Oct 2024 10:48:31 +0000 Subject: [PATCH] realm_creation: Let user choose their org type. --- templates/zerver/realm_creation_form.html | 3 ++- web/e2e-tests/realm-creation.test.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/zerver/realm_creation_form.html b/templates/zerver/realm_creation_form.html index e8fc8ebb5e..84115a7d33 100644 --- a/templates/zerver/realm_creation_form.html +++ b/templates/zerver/realm_creation_form.html @@ -22,7 +22,8 @@
- + {% for realm_type in sorted_realm_types %} {% if not realm_type.hidden %} diff --git a/web/e2e-tests/realm-creation.test.ts b/web/e2e-tests/realm-creation.test.ts index fc208ea0ea..8022d089b1 100644 --- a/web/e2e-tests/realm-creation.test.ts +++ b/web/e2e-tests/realm-creation.test.ts @@ -16,6 +16,7 @@ async function realm_creation_tests(page: Page): Promise { await page.waitForSelector("#email"); await page.type("#email", email); await page.type("#id_team_name", organization_name); + await page.select("#realm_type", "business"); await page.$eval("input#realm_in_root_domain", (el) => { el.click(); });