Skip to content

Commit cfa0d76

Browse files
ACQE-8576: Clone configurable product and verify the admin is able to save the product
- Renamed action groups as per there actions and reduced the description length
1 parent 444c873 commit cfa0d76

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10-
<actionGroup name="AdminSelectAllValueOfTwoAttributesAndSelectSingleImageAndPricePageActionGroup" extends="AdminSelectAllValueOfTwoAttributesPageActionGroup">
10+
<actionGroup name="AdminSelectSingleImageAndPriceForConfigurationAttributeActionGroup" extends="AdminSelectAllValueOfTwoAttributesPageActionGroup">
1111
<annotations>
1212
<description>Select values of each attribute to include in the product and assigns a image to the product.</description>
1313
</annotations>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11-
<actionGroup name="CreateConfigurationsForTwoAttributesTwoOptionsActionGroup"
11+
<actionGroup name="AdminSelectTwoOptionsPerAttributeActionGroup"
1212
extends="GenerateConfigurationsByAttributeCodeActionGroup">
1313
<annotations>
1414
<description>EXTENDS: GenerateConfigurationsByAttributeCodeActionGroup. Selects only 2 specific options from
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="AdminCloneConfigurableProductWithTwoAttributes">
11+
<test name="AdminCloneConfigurableProductWithTwoAttributesTest">
1212
<annotations>
1313
<features value="ConfigurableProduct"/>
1414
<stories value="Clone configurable product with two attribute"/>
15-
<title
16-
value="Clone configurable product with two attribute and verify the admin is able to save the product"/>
17-
<description
18-
value="Admin should be able to clone a configurable product using Save and Duplicate functionality, configure it with multiple attributes (color and size), and save it successfully"/>
15+
<title value="Clone configurable product with two attribute and verify the admin is able to save the product"/>
16+
<description value="Admin can clone configurable product with Save and Duplicate and configure multiple attributes"/>
1917
<severity value="CRITICAL"/>
2018
<testCaseId value="AC-8464"/>
2119
<group value="ConfigurableProduct"/>
@@ -139,7 +137,7 @@
139137
<actionGroup ref="SetCategoryByNameActionGroup" stepKey="assignToCategory">
140138
<argument name="categoryName" value="$$createCategory.name$$"/>
141139
</actionGroup>
142-
<actionGroup ref="CreateConfigurationsForTwoAttributesTwoOptionsActionGroup" stepKey="createConfigurations">
140+
<actionGroup ref="AdminSelectTwoOptionsPerAttributeActionGroup" stepKey="createConfigurations">
143141
<argument name="attributeCode" value="{{colorProductVisualAttributeWithOptions.default_label}}"/>
144142
<argument name="secondAttributeCode" value="{{sizeProductAttributeWithOptions.default_label}}"/>
145143
<argument name="firstAttributeOption1" value="{{Blue.default_label}}"/>
@@ -189,7 +187,7 @@
189187
stepKey="clickEditConfigurations"/>
190188
<waitForPageLoad stepKey="waitForConfigurationsPageLoad"/>
191189
<!-- Step 5,6,7,8,9: Select all options -->
192-
<actionGroup ref="AdminSelectAllValueOfTwoAttributesAndSelectSingleImageAndPricePageActionGroup" stepKey="configureProductVariations">
190+
<actionGroup ref="AdminSelectSingleImageAndPriceForConfigurationAttributeActionGroup" stepKey="configureProductVariations">
193191
<argument name="attributeLabel1" value="{{colorProductVisualAttributeWithOptions.default_label}}"/>
194192
<argument name="attributeLabel2" value="{{sizeProductAttributeWithOptions.default_label}}"/>
195193
<argument name="quantity" value="{{ImportProductSimple1_Configurable.quantity}}"/>

0 commit comments

Comments
 (0)