Skip to content

Commit a125c32

Browse files
committed
MC-204: Admin should be able to remove default video from virtual products
- Added mftf test
1 parent caa3915 commit a125c32

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
11+
<test name="AdminRemoveDefaultVideoVirtualProductTest" extends="AdminRemoveDefaultVideoSimpleProductTest">
12+
<annotations>
13+
<features value="ProductVideo"/>
14+
<stories value="Add/remove images and videos for all product types and category"/>
15+
<title value="Admin should be able to remove default product video from a Virtual Product"/>
16+
<description value="Admin should be able to remove default product video from a Virtual Product"/>
17+
<severity value="MAJOR"/>
18+
<testCaseId value="MC-204"/>
19+
<group value="ProductVideo"/>
20+
</annotations>
21+
22+
<!-- Replacing steps in base AdminRemoveDefaultVideoSimpleProductTest -->
23+
24+
<actionGroup ref="goToCreateProductPage" stepKey="goToCreateProductPage">
25+
<argument name="product" value="defaultVirtualProduct"/>
26+
</actionGroup>
27+
<actionGroup ref="fillMainProductFormNoWeight" stepKey="fillMainProductForm">
28+
<argument name="product" value="defaultVirtualProduct"/>
29+
</actionGroup>
30+
<actionGroup ref="AssertProductInStorefrontProductPage" stepKey="AssertProductInStorefrontProductPageAfterRemove">
31+
<argument name="product" value="defaultVirtualProduct"/>
32+
</actionGroup>
33+
</test>
34+
</tests>

0 commit comments

Comments
 (0)