EmailTemplateSection.xml 1.6 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
  10. <section name="MarketingEmailTemplateSection">
  11. <element name="searchTemplateField" type="input" selector="#systemEmailTemplateGrid_filter_code"/>
  12. <element name="searchButton" type="button" selector="//*[@title='Search' and @class='action-default scalable action-secondary']"/>
  13. <element name="createdTemplate" type="button" selector="//*[normalize-space() ='{{arg}}']" parameterized="true"/>
  14. <element name="clearSearchTemplate" type="input" selector="//*[@id='systemEmailTemplateGrid_filter_code' and @value='{{arg2}}']" parameterized="true"/>
  15. </section>
  16. <section name="EmailTemplatesSection">
  17. <element name="addNewTemplateButton" type="button" selector="#add"/>
  18. <element name="templateDropDown" type="select" selector="#template_select"/>
  19. <element name="loadTemplateButton" type="button" selector="#load"/>
  20. <element name="templateNameField" type="input" selector="#template_code"/>
  21. <element name="saveTemplateButton" type="button" selector="#save"/>
  22. <element name="previewTemplateButton" type="button" selector="#preview"/>
  23. <element name="deleteTemplateButton" type="button" selector="#delete"/>
  24. <element name="resetFilterButton" type="button" selector="//span[contains(text(),'Reset Filter')]"/>
  25. </section>
  26. </sections>