Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-23 09:50:28 +01:00
Update qunit tests
Dieser Commit ist enthalten in:
Ursprung
05388616b5
Commit
c98852f678
4 geänderte Dateien mit 46 neuen und 46 gelöschten Zeilen
|
@ -98,48 +98,6 @@
|
|||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="setting full field-mapper-setting">
|
||||
<div class="setting-label">
|
||||
<label>{{i18n "admin.wizard.action.poster.label"}}</label>
|
||||
</div>
|
||||
|
||||
<div class="setting-value">
|
||||
{{wizard-mapper
|
||||
inputs=this.action.poster
|
||||
property="poster"
|
||||
onUpdate=(action "mappedFieldUpdated")
|
||||
options=(hash
|
||||
textSelection="key,value"
|
||||
wizardFieldSelection=true
|
||||
userSelection="output"
|
||||
outputDefaultSelection="user"
|
||||
userLimit="1"
|
||||
context="action"
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="setting full field-mapper-setting">
|
||||
<div class="setting-label">
|
||||
<label>{{i18n "admin.wizard.action.guest_email.label"}}</label>
|
||||
</div>
|
||||
|
||||
<div class="setting-value">
|
||||
{{wizard-mapper
|
||||
inputs=this.action.guest_email
|
||||
property="guest_email"
|
||||
onUpdate=(action "mappedFieldUpdated")
|
||||
options=(hash
|
||||
textSelection="key,value"
|
||||
wizardFieldSelection=true
|
||||
outputPlaceholder="admin.wizard.action.guest_email.placeholder"
|
||||
context="action"
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if publicTopicFields}}
|
||||
|
@ -962,6 +920,48 @@
|
|||
{{/if}}
|
||||
|
||||
{{#if showPostAdvanced}}
|
||||
<div class="setting full field-mapper-setting">
|
||||
<div class="setting-label">
|
||||
<label>{{i18n "admin.wizard.action.poster.label"}}</label>
|
||||
</div>
|
||||
|
||||
<div class="setting-value">
|
||||
{{wizard-mapper
|
||||
inputs=this.action.poster
|
||||
property="poster"
|
||||
onUpdate=(action "mappedFieldUpdated")
|
||||
options=(hash
|
||||
textSelection="key,value"
|
||||
wizardFieldSelection=true
|
||||
userSelection="output"
|
||||
outputDefaultSelection="user"
|
||||
userLimit="1"
|
||||
context="action"
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="setting full field-mapper-setting">
|
||||
<div class="setting-label">
|
||||
<label>{{i18n "admin.wizard.action.guest_email.label"}}</label>
|
||||
</div>
|
||||
|
||||
<div class="setting-value">
|
||||
{{wizard-mapper
|
||||
inputs=this.action.guest_email
|
||||
property="guest_email"
|
||||
onUpdate=(action "mappedFieldUpdated")
|
||||
options=(hash
|
||||
textSelection="key,value"
|
||||
wizardFieldSelection=true
|
||||
outputPlaceholder="admin.wizard.action.guest_email.placeholder"
|
||||
context="action"
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="setting full">
|
||||
<div class="setting-label">
|
||||
<label>{{i18n "admin.wizard.action.skip_redirect.label"}}</label>
|
||||
|
|
|
@ -221,7 +221,7 @@ acceptance("Admin | Custom Wizard Business Subscription", function (needs) {
|
|||
".admin-wizard-container .wizard-custom-action .setting"
|
||||
);
|
||||
assert.ok(
|
||||
listTopicSettings.length === 10,
|
||||
listTopicSettings.length === 12,
|
||||
"Display all settings of create topic"
|
||||
);
|
||||
await actionTypeDropdown.expand();
|
||||
|
|
|
@ -215,7 +215,7 @@ acceptance("Admin | Custom Wizard Standard Subscription", function (needs) {
|
|||
".admin-wizard-container .wizard-custom-action .setting"
|
||||
);
|
||||
assert.ok(
|
||||
listTopicSettings.length === 10,
|
||||
listTopicSettings.length === 12,
|
||||
"Display all settings of create topic"
|
||||
);
|
||||
await actionTypeDropdown.expand();
|
||||
|
@ -224,7 +224,7 @@ acceptance("Admin | Custom Wizard Standard Subscription", function (needs) {
|
|||
".admin-wizard-container .wizard-custom-action .setting"
|
||||
);
|
||||
assert.ok(
|
||||
listTopicSettings.length === 9,
|
||||
listTopicSettings.length === 11,
|
||||
"Display all settings of send message"
|
||||
);
|
||||
await actionTypeDropdown.expand();
|
||||
|
|
|
@ -396,7 +396,7 @@ acceptance("Admin | Custom Wizard Unsubscribed", function (needs) {
|
|||
".admin-wizard-container .wizard-custom-action .setting"
|
||||
);
|
||||
assert.ok(
|
||||
listTopicSettings.length === 10,
|
||||
listTopicSettings.length === 12,
|
||||
"Display all settings of create topic"
|
||||
);
|
||||
await actionTypeDropdown.expand();
|
||||
|
|
Laden …
In neuem Issue referenzieren