Skip to content

Commit 966e4a0

Browse files
committed
MC-18821: Increase test coverage for Catalog functional area
- Automation test for MC-13641
1 parent bce2077 commit 966e4a0

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

app/code/Magento/Deploy/Test/Mftf/Suite/MagentoDeveloperModeTestSuite.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<magentoCLI command="deploy:mode:set production" stepKey="enableProductionMode"/>
1515
</after>
1616
<include>
17-
<test name="AdminSaveConfProductWithCustomProductAttributeTest"/>
17+
<group name="developer_mode_only"/>
1818
</include>
1919
</suite>
2020
</suites>

app/code/Magento/Swatches/Test/Mftf/Test/AdminSaveConfProductWithCustomProductAttributeTest.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,24 @@
1111
<test name="AdminSaveConfProductWithCustomProductAttributeTest">
1212
<annotations>
1313
<features value="Swatches"/>
14-
<stories value="Configurable product with custom product images as swatches attribute"/>
14+
<stories value="Configurable product with swatch attribute"/>
1515
<title value="Saving configurable product with custom product attribute (images as swatches)"/>
1616
<description value="Saving configurable product with custom product attribute (images as swatches)"/>
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="MC-13641"/>
1919
<useCaseId value="MC-10968"/>
20-
<group value="swatches"/>
20+
<group value="developer_mode_only"/>
2121
</annotations>
2222
<before>
2323
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
2424
<!--Create configurable product-->
25-
<comment userInput="Create configurable product" stepKey="commentCreateConfProduct"/>
2625
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
2726
<createData entity="ApiConfigurableProduct" stepKey="createConfigProduct">
2827
<requiredEntity createDataKey="createCategory"/>
2928
</createData>
3029
</before>
3130
<after>
3231
<!--Delete created data-->
33-
<comment userInput="Delete created data" stepKey="commentDeleteCreatedData"/>
3432
<deleteData createDataKey="createConfigProduct" stepKey="deleteProduct"/>
3533
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
3634
<actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="navigateToProductIndexPage"/>
@@ -41,14 +39,12 @@
4139
<actionGroup ref="logout" stepKey="logout"/>
4240
</after>
4341
<!--Create Visual swatch with preview image-->
44-
<comment userInput="Create Visual swatch with preview image" stepKey="commentCreateAttribute"/>
4542
<amOnPage url="{{ProductAttributePage.url}}" stepKey="goToNewProductAttributePage"/>
4643
<actionGroup ref="AdminFillProductAttributePropertiesActionGroup" stepKey="fillProductAttributeProperties">
4744
<argument name="attributeName" value="{{VisualSwatchProductAttribute.attribute_code}}"/>
4845
<argument name="attributeType" value="{{VisualSwatchProductAttribute.frontend_input}}"/>
4946
</actionGroup>
5047
<!--Add first option-->
51-
<comment userInput="Add first option" stepKey="commentAddFirstOption"/>
5248
<actionGroup ref="AdminAddSwatchOptionAndFillFieldsActionGroup" stepKey="addFirstSwatchOptionAndFillFields">
5349
<argument name="swatchOption" value="visualSwatchOption1"/>
5450
</actionGroup>
@@ -60,7 +56,6 @@
6056
<argument name="index" value="1"/>
6157
</actionGroup>
6258
<!--Add second option-->
63-
<comment userInput="Add second option" stepKey="commentAddSecondOption"/>
6459
<actionGroup ref="AdminAddSwatchOptionAndFillFieldsActionGroup" stepKey="addSecondSwatchOptionAndFillFields">
6560
<argument name="swatchOption" value="visualSwatchOption2"/>
6661
</actionGroup>
@@ -76,7 +71,6 @@
7671
<argument name="message" value="You saved the product attribute."/>
7772
</actionGroup>
7873
<!--Create configurations for product-->
79-
<comment userInput="Create configurations for product" stepKey="commentCreateConfigsForProduct"/>
8074
<amOnPage url="{{AdminProductEditPage.url($$createConfigProduct.id$$)}}" stepKey="goToProductEditPage"/>
8175
<waitForPageLoad stepKey="waitForProductPageLoad"/>
8276
<actionGroup ref="StartCreateConfigurationsForAttribute" stepKey="createConfigurations">

0 commit comments

Comments
 (0)