File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
app/code/Magento/CatalogRule/Test/Mftf Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 45
45
<click stepKey =" addNewRule" selector =" {{AdminGridMainControls.add}}" />
46
46
<fillField selector =" {{AdminNewCatalogPriceRule.ruleName}}" userInput =" {{catalogRule.name}}" stepKey =" fillName" />
47
47
<fillField selector =" {{AdminNewCatalogPriceRule.description}}" userInput =" {{catalogRule.description}}" stepKey =" fillDescription" />
48
- <click selector =" {{AdminCategoryBasicFieldSection.enableCategoryLabel}}" stepKey =" selectActive" />
49
48
<selectOption selector =" {{AdminNewCatalogPriceRule.websites}}" parameterArray =" {{catalogRule.website_ids}}" stepKey =" selectSite" />
50
49
<click stepKey =" openActionDropdown" selector =" {{AdminNewCatalogPriceRule.actionsTab}}" />
51
50
<fillField stepKey =" fillDiscountValue" selector =" {{AdminNewCatalogPriceRuleActions.discountAmount}}" userInput =" {{catalogRule.discount_amount}}" />
Original file line number Diff line number Diff line change 106
106
</createData >
107
107
108
108
<!-- Create new Catalog Price Rule-->
109
+ <amOnPage url =" {{CatalogRulePage.url}}" stepKey =" goToPriceRulePage1" />
110
+ <waitForPageLoad stepKey =" waitForPriceRulePage1" />
109
111
<actionGroup ref =" createCatalogPriceRule" stepKey =" createCatalogPriceRule1" >
110
112
<argument name =" catalogRule" value =" CatalogRuleWithAllCustomerGroups" />
111
113
</actionGroup >
114
+ <actionGroup ref =" selectNotLoggedInCustomerGroupActionGroup" stepKey =" selectCustomerGroup1" />
112
115
<actionGroup ref =" CreateCatalogPriceRuleConditionWithAttribute" stepKey =" createCatalogPriceRuleCondition1" >
113
116
<argument name =" attributeName" value =" $$createSecondProductAttribute.attribute[frontend_labels][0][label]$$" />
114
117
<argument name =" targetValue" value =" is" />
115
118
<argument name =" targetSelectValue" value =" is undefined" />
116
119
</actionGroup >
117
- <click selector =" {{AdminNewCatalogPriceRule.save}}" stepKey =" saveRule1" />
120
+ <click selector =" {{AdminNewCatalogPriceRule.saveAndApply}}" stepKey =" clickSaveAndApplyRules1" />
121
+ <magentoCLI command =" indexer:reindex" stepKey =" reindex1" />
122
+ <magentoCLI command =" cache:flush" stepKey =" flushCache1" />
118
123
119
124
<!-- Check Catalog Price Rule for third product-->
120
125
<amOnPage url =" {{StorefrontProductPage.url($$createThirdProduct.custom_attributes[url_key]$$)}}" stepKey =" navigateToThirdProductPage" />
You can’t perform that action at this time.
0 commit comments