Skip to content

Commit e2c06ce

Browse files
committed
MC-81: Customer should not be able to add the product to the cart if options are not selected.
- Updated mftf test.
1 parent 69ed26a commit e2c06ce

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/ConfigurableProduct/Test/StorefrontConfigurableProductDetailsTest.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<test name="StorefrontConfigurableProductBasicInfoTest">
1212
<annotations>
1313
<features value="ConfigurableProduct"/>
14-
<stories value="Storefront configurable product details"/>
15-
<title value="Guest customer should see the basic configurable product details in product view"/>
16-
<description value="Guest customer should see the basic configurable product details in product view"/>
14+
<stories value="View configurable product details in storefront"/>
15+
<title value="Guest customer should see basic Configurable Product details"/>
16+
<description value="Guest customer should see basic Configurable Product details"/>
1717
<severity value="MAJOR"/>
1818
<testCaseId value="MC-77"/>
1919
<group value="ConfigurableProduct"/>
@@ -52,9 +52,9 @@
5252
<test name="StorefrontConfigurableProductOptionsTest">
5353
<annotations>
5454
<features value="ConfigurableProduct"/>
55-
<stories value="Storefront configurable product details"/>
56-
<title value="Guest customer should see configurable product options in product view"/>
57-
<description value="Guest customer should see configurable product options in product view"/>
55+
<stories value="View configurable product details in storefront"/>
56+
<title value="Guest customer should be able to see product configuration options"/>
57+
<description value="Guest customer should be able to see product configuration options"/>
5858
<severity value="MAJOR"/>
5959
<testCaseId value="MC-92"/>
6060
<group value="ConfigurableProduct"/>
@@ -93,9 +93,9 @@
9393
<test name="StorefrontConfigurableProductCanAddToCartTest">
9494
<annotations>
9595
<features value="ConfigurableProduct"/>
96-
<stories value="Storefront configurable product details"/>
97-
<title value="Guest customer should be able to add configurable product to cart after an option is selected in product view"/>
98-
<description value="Guest customer should be able to add configurable product to cart after an option is selected in product view"/>
96+
<stories value="View configurable product details in storefront"/>
97+
<title value="Guest customer should be able to successfully add the product to the cart"/>
98+
<description value="Guest customer should be able to successfully add the product to the cart"/>
9999
<severity value="MAJOR"/>
100100
<testCaseId value="MC-97"/>
101101
<group value="ConfigurableProduct"/>
@@ -131,9 +131,9 @@
131131
<test name="StorefrontConfigurableProductCantAddToCartTest">
132132
<annotations>
133133
<features value="ConfigurableProduct"/>
134-
<stories value="Storefront configurable product details"/>
135-
<title value="Guest customer should not be able to add configurable product to cart if no option is selected in product view"/>
136-
<description value="Guest customer should not be able to add configurable product to cart if no option is selected in product view"/>
134+
<stories value="View configurable product details in storefront"/>
135+
<title value="Guest customer should not be able to add the product to the cart if options are not selected"/>
136+
<description value="Guest customer should not be able to add the product to the cart if options are not selected"/>
137137
<severity value="MAJOR"/>
138138
<testCaseId value="MC-81"/>
139139
<group value="ConfigurableProduct"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/ConfigurableProduct/Test/StorefrontConfigurableProductViewTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<test name="StorefrontConfigurableProductGridViewTest">
1212
<annotations>
1313
<features value="ConfigurableProduct"/>
14-
<stories value="Storefront"/>
14+
<stories value="View configurable product in a category in storefront"/>
1515
<title value="customer should see the configurable product in the category grid"/>
1616
<description value="customer should see the configurable product in the category grid"/>
1717
<severity value="CRITICAL"/>
@@ -47,7 +47,7 @@
4747
<test name="StorefrontConfigurableProductListViewTest">
4848
<annotations>
4949
<features value="ConfigurableProduct"/>
50-
<stories value="Storefront"/>
50+
<stories value="View configurable product in a category in storefront"/>
5151
<title value="customer should see the configurable product in the category list"/>
5252
<description value="customer should see the configurable product in the category list"/>
5353
<severity value="CRITICAL"/>
@@ -85,7 +85,7 @@
8585
<test name="StorefrontConfigurableProductAddToCartTest">
8686
<annotations>
8787
<features value="ConfigurableProduct"/>
88-
<stories value="Storefront"/>
88+
<stories value="View configurable product in a category in storefront"/>
8989
<title value="customer should be taken to the product details page when clicking add to cart"/>
9090
<description value="customer should be taken to the product details page when clicking add to cart"/>
9191
<severity value="CRITICAL"/>

0 commit comments

Comments
 (0)