Skip to content

Commit 9788ab3

Browse files
Lilit5vitalysery
authored andcommitted
MC-17653: Cannot schedule update for catalog price rule for date attribute
- Updated automated test script.
1 parent 96ff9e0 commit 9788ab3

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/CatalogPriceRuleActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<scrollTo selector="{{AdminNewCatalogPriceRule.conditionsTab}}" stepKey="scrollToConditionsTab" after="expandConditions"/>
6868
<waitForElementVisible selector="{{PriceRuleConditionsSection.createNewRule}}" stepKey="waitForNewRule" after="scrollToConditionsTab"/>
6969
<click selector="{{PriceRuleConditionsSection.createNewRule}}" stepKey="clickNewRule" after="waitForNewRule"/>
70-
<selectOption selector="{{PriceRuleConditionsSection.conditionsDropdown}}" userInput="{{ProductAttributeFrontendLabel.label}}" stepKey="selectProductAttribute" after="clickNewRule"/>
70+
<selectOption selector="{{AdminNewCatalogPriceRuleConditions.conditionsDropdown}}" userInput="{{ProductAttributeFrontendLabel.label}}" stepKey="selectProductAttribute" after="clickNewRule"/>
7171
<waitForPageLoad stepKey="waitForAttributeLoad" after="selectProductAttribute"/>
7272
<!--Assert that attribute contains today date without time-->
7373
<comment userInput="Assert that attribute contains today date without time" stepKey="assertDate" after="waitForAttributeLoad"/>

app/code/Magento/CatalogRule/Test/Mftf/Section/AdminNewCatalogPriceRuleSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
<section name="AdminNewCatalogPriceRuleConditions">
4545
<element name="newCondition" type="button" selector=".rule-param.rule-param-new-child"/>
46+
<element name="conditionsDropdown" type="select" selector="select[data-form-part='catalog_rule_form'][data-ui-id='newchild-0-select-rule-conditions-1-new-child']"/>
4647
<element name="conditionSelect" type="select" selector="select#conditions__{{var}}__new_child" parameterized="true"/>
4748
<element name="targetEllipsis" type="button" selector="//li[{{var}}]//a[@class='label'][text() = '...']" parameterized="true"/>
4849
<element name="targetEllipsisValue" type="button" selector="//ul[@id='conditions__{{var}}__children']//a[contains(text(), '{{var1}}')]" parameterized="true" timeout="30"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/StorefrontVisibilityOfDuplicateProductTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<annotations>
1212
<stories value="Duplicate Product"/>
1313
<features value="ConfigurableProduct"/>
14-
<stories value="Duplicate Product"/>
1514
<title value="Visibility of duplicate product on the Storefront"/>
1615
<description value="Check visibility of duplicate product on the Storefront"/>
1716
<severity value="AVERAGE"/>

app/code/Magento/SalesRule/Test/Mftf/Section/PriceRuleConditionsSection.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<element name="conditionsTab" type="text" selector="//div[@data-index='conditions']//span[contains(.,'Conditions')][1]"/>
1010
<element name="createNewRule" type="text" selector="span.rule-param.rule-param-new-child"/>
1111
<element name="rulesDropdown" type="select" selector="select[data-form-part='sales_rule_form'][data-ui-id='newchild-0-select-rule-conditions-1-new-child']"/>
12-
<element name="conditionsDropdown" type="select" selector="select[data-form-part='catalog_rule_form'][data-ui-id='newchild-0-select-rule-conditions-1-new-child']"/>
1312
<element name="addProductAttributesButton" type="text" selector="#conditions__1--1__children>li>span>a"/>
1413
<element name="productAttributesDropdown" type="select" selector="#conditions__1--1__new_child"/>
1514
<element name="firstProductAttributeSelected" type="select" selector="#conditions__1__children .rule-param:nth-of-type(2) a:nth-child(1)"/>

0 commit comments

Comments
 (0)