mirror of https://github.com/zulip/zulip.git
realm_creation: Let user choose their org type.
This commit is contained in:
parent
3ec58fd3d5
commit
b895e9dc6f
|
@ -22,7 +22,8 @@
|
|||
|
||||
<div class="input-box">
|
||||
<div class="inline-block relative">
|
||||
<select name="realm_type" id="realm_type">
|
||||
<select name="realm_type" id="realm_type" required>
|
||||
<option disabled selected value>-- {{ _("Select one") }} --</option>
|
||||
{% for realm_type in sorted_realm_types %}
|
||||
{% if not realm_type.hidden %}
|
||||
<option value="{{ realm_type.id }}" {% if form.realm_type.value() == realm_type.id %}selected{% endif %} >{{ _(realm_type.name) }}</option>
|
||||
|
|
|
@ -16,6 +16,7 @@ async function realm_creation_tests(page: Page): Promise<void> {
|
|||
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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue