Add JS test for products widget
[MAILPOET-1843]
This commit is contained in:
committed by
Rostislav Wolný
parent
fa61a24caa
commit
e41bc4e6da
@ -136,6 +136,14 @@ testHelpers.loadTemplate('blocks/posts/settingsSelection.hbs', window, { id: 'ne
|
||||
testHelpers.loadTemplate('blocks/posts/settingsSelectionEmpty.hbs', window, { id: 'newsletter_editor_template_posts_settings_selection_empty' });
|
||||
testHelpers.loadTemplate('blocks/posts/settingsSinglePost.hbs', window, { id: 'newsletter_editor_template_posts_settings_single_post' });
|
||||
|
||||
testHelpers.loadTemplate('blocks/products/block.hbs', window, { id: 'newsletter_editor_template_products_block' });
|
||||
testHelpers.loadTemplate('blocks/products/widget.hbs', window, { id: 'newsletter_editor_template_products_widget' });
|
||||
testHelpers.loadTemplate('blocks/products/settings.hbs', window, { id: 'newsletter_editor_template_products_settings' });
|
||||
testHelpers.loadTemplate('blocks/products/settingsDisplayOptions.hbs', window, { id: 'newsletter_editor_template_products_settings_display_options' });
|
||||
testHelpers.loadTemplate('blocks/products/settingsSelection.hbs', window, { id: 'newsletter_editor_template_products_settings_selection' });
|
||||
testHelpers.loadTemplate('blocks/products/settingsSelectionEmpty.hbs', window, { id: 'newsletter_editor_template_products_settings_selection_empty' });
|
||||
testHelpers.loadTemplate('blocks/products/settingsSinglePost.hbs', window, { id: 'newsletter_editor_template_products_settings_single_post' });
|
||||
|
||||
testHelpers.loadTemplate('blocks/social/block.hbs', window, { id: 'newsletter_editor_template_social_block' });
|
||||
testHelpers.loadTemplate('blocks/social/blockIcon.hbs', window, { id: 'newsletter_editor_template_social_block_icon' });
|
||||
testHelpers.loadTemplate('blocks/social/widget.hbs', window, { id: 'newsletter_editor_template_social_widget' });
|
||||
@ -230,6 +238,14 @@ global.templates = {
|
||||
singlePostPostsBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_posts_settings_single_post').html()),
|
||||
displayOptionsPostsBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_posts_settings_display_options').html()),
|
||||
|
||||
productsBlock: Handlebars.compile(jQuery('#newsletter_editor_template_products_block').html()),
|
||||
productsInsertion: Handlebars.compile(jQuery('#newsletter_editor_template_products_widget').html()),
|
||||
productsBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_products_settings').html()),
|
||||
postSelectionProductsBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_products_settings_selection').html()),
|
||||
emptyPostProductsBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_products_settings_selection_empty').html()),
|
||||
singlePostProductsBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_products_settings_single_post').html()),
|
||||
displayOptionsProductsBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_products_settings_display_options').html()),
|
||||
|
||||
textBlock: Handlebars.compile(jQuery('#newsletter_editor_template_text_block').html()),
|
||||
textInsertion: Handlebars.compile(jQuery('#newsletter_editor_template_text_widget').html()),
|
||||
textBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_text_settings').html()),
|
||||
|
Reference in New Issue
Block a user