0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-10-18 11:52:39 +02:00

Update qunit tests

Dieser Commit ist enthalten in:
Angus McLeod 2024-07-09 11:54:36 +02:00
Ursprung 05388616b5
Commit c98852f678
4 geänderte Dateien mit 46 neuen und 46 gelöschten Zeilen

Datei anzeigen

@ -98,48 +98,6 @@
</div> </div>
</div> </div>
{{/if}} {{/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}}
{{#if publicTopicFields}} {{#if publicTopicFields}}
@ -962,6 +920,48 @@
{{/if}} {{/if}}
{{#if showPostAdvanced}} {{#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 full">
<div class="setting-label"> <div class="setting-label">
<label>{{i18n "admin.wizard.action.skip_redirect.label"}}</label> <label>{{i18n "admin.wizard.action.skip_redirect.label"}}</label>

Datei anzeigen

@ -221,7 +221,7 @@ acceptance("Admin | Custom Wizard Business Subscription", function (needs) {
".admin-wizard-container .wizard-custom-action .setting" ".admin-wizard-container .wizard-custom-action .setting"
); );
assert.ok( assert.ok(
listTopicSettings.length === 10, listTopicSettings.length === 12,
"Display all settings of create topic" "Display all settings of create topic"
); );
await actionTypeDropdown.expand(); await actionTypeDropdown.expand();

Datei anzeigen

@ -215,7 +215,7 @@ acceptance("Admin | Custom Wizard Standard Subscription", function (needs) {
".admin-wizard-container .wizard-custom-action .setting" ".admin-wizard-container .wizard-custom-action .setting"
); );
assert.ok( assert.ok(
listTopicSettings.length === 10, listTopicSettings.length === 12,
"Display all settings of create topic" "Display all settings of create topic"
); );
await actionTypeDropdown.expand(); await actionTypeDropdown.expand();
@ -224,7 +224,7 @@ acceptance("Admin | Custom Wizard Standard Subscription", function (needs) {
".admin-wizard-container .wizard-custom-action .setting" ".admin-wizard-container .wizard-custom-action .setting"
); );
assert.ok( assert.ok(
listTopicSettings.length === 9, listTopicSettings.length === 11,
"Display all settings of send message" "Display all settings of send message"
); );
await actionTypeDropdown.expand(); await actionTypeDropdown.expand();

Datei anzeigen

@ -396,7 +396,7 @@ acceptance("Admin | Custom Wizard Unsubscribed", function (needs) {
".admin-wizard-container .wizard-custom-action .setting" ".admin-wizard-container .wizard-custom-action .setting"
); );
assert.ok( assert.ok(
listTopicSettings.length === 10, listTopicSettings.length === 12,
"Display all settings of create topic" "Display all settings of create topic"
); );
await actionTypeDropdown.expand(); await actionTypeDropdown.expand();