File tree Expand file tree Collapse file tree 4 files changed +19
-4
lines changed
app/code/Magento/Email/Test/Mftf Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" ../../../../../../../vendor/ magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/ Test/etc/actionGroupSchema.xsd" >
10
+ xsi : noNamespaceSchemaLocation =" urn: magento:mftf: Test/etc/actionGroupSchema.xsd" >
11
11
12
12
<!-- Create New Template -->
13
13
<actionGroup name =" CreateNewTemplate" >
19
19
20
20
<!-- Fill in required fields in "Template Information" tab and click "Save Template" button-->
21
21
<click stepKey =" clickLoadTemplateButton" selector =" {{EmailTemplatesSection.loadTemplateButton}}" after =" selectValueFromTemplateDropDown" />
22
- <fillField stepKey =" fillTemplateNameField" selector =" {{EmailTemplatesSection.templateNameField}}" userInput =" {{EmailTemplate.templateName}}" after =" clickLoadTemplateButton" />
22
+ <waitForElementVisible selector =" {{EmailTemplatesSection.templateNameField}}" stepKey =" waitForTemplateNameFieldVisible" />
23
+ <fillField stepKey =" fillTemplateNameField" selector =" {{EmailTemplatesSection.templateNameField}}" userInput =" {{EmailTemplate.templateName}}" />
23
24
<click stepKey =" clickSaveTemplateButton" selector =" {{EmailTemplatesSection.saveTemplateButton}}" />
24
25
<waitForPageLoad stepKey =" waitForNewTemplateCreated" />
25
26
</actionGroup >
Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" ../../../../../../../vendor/ magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/ DataGenerator/etc/dataProfileSchema.xsd" >
10
+ xsi : noNamespaceSchemaLocation =" urn: magento:mftf: DataGenerator/etc/dataProfileSchema.xsd" >
11
11
<entity name =" EmailTemplate" type =" template" >
12
12
<data key =" templateName" unique =" suffix" >Template</data >
13
13
</entity >
Original file line number Diff line number Diff line change
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
+
9
+ <pages xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:/Page/etc/PageObject.xsd" >
11
+ <page name =" AdminEmailTemplatePage" url =" /admin/email_template/" area =" admin" module =" Email" >
12
+ <section name =" AdminEmailTemplatePageActionSection" />
13
+ </page >
14
+ </pages >
Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" ../../../../../../../vendor/ magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/ Page/etc/SectionObject.xsd" >
10
+ xsi : noNamespaceSchemaLocation =" urn: magento:mftf: Page/etc/SectionObject.xsd" >
11
11
12
12
<section name =" MarketingEmailTemplateSection" >
13
13
<element name =" searchTemplateField" type =" input" selector =" #systemEmailTemplateGrid_filter_code" />
You can’t perform that action at this time.
0 commit comments