Skip to content

Commit 41b6a01

Browse files
committed
ACQE-8097: Product attribute admin values should be used instead of default store view values in backend
- changes made as per latest comments
1 parent 422dd4f commit 41b6a01

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1010
<actionGroup name="AdminCreateCustomConditionWithMultipleSelectInCartPriceRuleActionGroup" extends="AdminCreateCustomConditionInCartPriceRuleActionGroup">
1111
<annotations>
12-
<description>Remove fill filed action and replace with select option</description>
12+
<description>Create custom condition in action tab in cart price rule</description>
1313
</annotations>
1414
<arguments>
1515
<argument name="productAttributeOption" type="string" defaultValue="{{productAttributeColour.black}}"/>

app/code/Magento/Backend/Test/Mftf/Data/BackenedData.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@
1414
<entity name="WebdriverKey">
1515
<data key="tabKey">[\Facebook\WebDriver\WebDriverKeys::TAB]</data>
1616
</entity>
17+
<entity name="productAttributeColour" type="productAttribute">
18+
<data key="gold">gold</data>
19+
<data key="black">black</data>
20+
</entity>
1721
</entities>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1010
<test name="AdminProductAttributeAdminValuesUsedInsteadOfDefaultValueTest">
1111
<annotations>
12-
<features value="SalesRule"/>
12+
<features value="Backend"/>
1313
<stories value="Product attribute admin values should be used in backend"/>
1414
<title value="Product attribute admin values should be used instead of default store view values in backend"/>
1515
<description value="Verify that product attribute admin values should be used in cart price rule instead of default store view values in backend"/>
1616
<testCaseId value="AC-13048"/>
1717
<severity value="MINOR"/>
18-
<group value="SalesRule"/>
18+
<group value="backend"/>
1919
</annotations>
2020
<before>
2121
<createData entity="productAttributeMultiselectTwoOptions" stepKey="createColourProductAttribute"/>

app/code/Magento/SalesRule/Test/Mftf/Data/SalesRuleProductConditionsData.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,4 @@
1313
<data key="quantityInCart">Magento\SalesRule\Model\Rule\Condition\Product|quote_item_qty</data>
1414
<data key="rowTotalInCart">Magento\SalesRule\Model\Rule\Condition\Product|quote_item_row_total</data>
1515
</entity>
16-
<entity name="productAttributeColour" type="productAttribute">
17-
<data key="gold">gold</data>
18-
<data key="black">black</data>
19-
</entity>
2016
</entities>

0 commit comments

Comments
 (0)