|
9 | 9 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
|
10 | 10 | <test name="AdminProductAttributeAdminValuesUsedInsteadOfDefaultValueTest">
|
11 | 11 | <annotations>
|
12 |
| - <features value="Catalog"/> |
| 12 | + <features value="SalesRule"/> |
13 | 13 | <stories value="Product attribute admin values should be used in backend"/>
|
14 | 14 | <title value="Product attribute admin values should be used instead of default store view values in backend"/>
|
15 | 15 | <description value="Verify that product attribute admin values should be used in cart price rule instead of default store view values in backend"/>
|
16 | 16 | <testCaseId value="AC-13048"/>
|
17 | 17 | <severity value="MINOR"/>
|
18 |
| - <group value="Catalog"/> |
| 18 | + <group value="SalesRule"/> |
19 | 19 | </annotations>
|
20 | 20 | <before>
|
21 | 21 | <createData entity="productAttributeMultiselectTwoOptions" stepKey="createColourProductAttribute"/>
|
|
41 | 41 | </actionGroup>
|
42 | 42 | <fillField selector="{{AttributePropertiesSection.DefaultLabel}}" userInput="$$createColourProductAttribute.attribute_code$$" stepKey="fillDefaultLabel"/>
|
43 | 43 | <actionGroup ref="CreateAttributeDropdownNthOptionActionGroup" stepKey="createColourOptionWhichAsDifferentValuesInAdminAndDefaultStoreView">
|
44 |
| - <argument name="adminName" value="{{colorDefaultProductAttribute2.name}}"/> |
45 |
| - <argument name="frontName" value="{{colorDefaultProductAttribute1.name}}"/> |
| 44 | + <argument name="adminName" value="{{productAttributeColour.black}}"/> |
| 45 | + <argument name="frontName" value="{{productAttributeColour.gold}}"/> |
46 | 46 | <argument name="row" value="1"/>
|
47 | 47 | </actionGroup>
|
48 | 48 | <actionGroup ref="AdminSaveProductAttributeActionGroup" stepKey="saveMultiSelectAttribute"/>
|
|
64 | 64 | <actionGroup ref="AdminCreateCustomConditionWithMultipleSelectInCartPriceRuleActionGroup" stepKey="createProductAttributeCombinationCondition">
|
65 | 65 | <argument name="productAttribute" value="$$createColourProductAttribute.attribute_code$$"/>
|
66 | 66 | </actionGroup>
|
67 |
| - <waitForText selector="{{AdminCartPriceRulesFormSection.ruleFieldByIndex('1--1--1')}}" userInput="{{colorDefaultProductAttribute2.name}}" stepKey="verifyAdminValueIsVisibleInTheConditionInsteadOfDefaultStoreViewValue"/> |
68 |
| - <dontSee selector="{{AdminCartPriceRulesFormSection.ruleFieldByIndex('1--1--1')}}" userInput="{{colorDefaultProductAttribute1.name}}" stepKey="verifyDefaultStoreViewValueIsNotVisible"/> |
| 67 | + <waitForText selector="{{AdminCartPriceRulesFormSection.ruleFieldByIndex('1--1--1')}}" userInput="{{productAttributeColour.black}}" stepKey="verifyAdminValueIsVisibleInTheConditionInsteadOfDefaultStoreViewValue"/> |
| 68 | + <dontSee selector="{{AdminCartPriceRulesFormSection.ruleFieldByIndex('1--1--1')}}" userInput="{{productAttributeColour.gold}}" stepKey="verifyDefaultStoreViewValueIsNotVisible"/> |
69 | 69 | <actionGroup ref="AssertCartPriceRuleSuccessSaveMessageActionGroup" stepKey="saveAndAssertCartPriceRuleSuccessSaveMessage"/>
|
70 | 70 | </test>
|
71 | 71 | </tests>
|
0 commit comments