Skip to content

Commit df67851

Browse files
Indrani sonawaneIndrani sonawane
authored andcommitted
33326-Resolved the merged conflict
1 parent 2a28968 commit df67851

File tree

4 files changed

+4
-32
lines changed

4 files changed

+4
-32
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminDeleteConfigurableChildProductsTest.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<requiredEntity createDataKey="createConfigProductAttribute"/>
5454
<requiredEntity createDataKey="getConfigAttributeOption1"/>
5555
</createData>
56-
<!--Create a simple product and give it the attribute with the second option -->
56+
<!--Create a simple product and give it the attribute with the second option -->
5757
<createData entity="ApiSimpleTwo" stepKey="createConfigChildProduct2">
5858
<requiredEntity createDataKey="createConfigProductAttribute"/>
5959
<requiredEntity createDataKey="getConfigAttributeOption2"/>
@@ -93,11 +93,6 @@
9393
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForProductToLoad"/>
9494

9595
<!--Verify Product is visible and In Stock -->
96-
<seeElement selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="seeCategoryInFrontPage"/>
97-
<actionGroup ref="AssertStorefrontProductInfoMainProductNameActionGroup" stepKey="seeProductNameInStoreFront">
98-
<argument name="value" value="$$createConfigProduct.name$$"/>
99-
</actionGroup>
100-
<see selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="$$createConfigProduct.price$$" stepKey="seeProductPriceInStoreFront"/>
10196
<actionGroup ref="StorefrontAssertCategoryNameIsShownInMenuActionGroup" stepKey="seeCategoryInFrontPage">
10297
<argument name="categoryName" value="$$createCategory.name$$"/>
10398
</actionGroup>
@@ -134,11 +129,6 @@
134129
<argument name="productName" value="$$createConfigProduct.name$$"/>
135130
</actionGroup>
136131
<!--Open Product Store Front Page and Verify Product is Out Of Stock -->
137-
<amOnPage url="$$createConfigProduct.custom_attributes[url_key]$$.html" stepKey="openProductInStoreFront1"/>
138-
<waitForPageLoad stepKey="waitForProductToLoad1"/>
139-
<seeElement selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="seeCategoryInFrontPage1"/>
140-
<actionGroup ref="AssertStorefrontProductInfoMainProductNameActionGroup" stepKey="seeProductNameInStoreFront1">
141-
<argument name="value" value="$$createConfigProduct.name$$"/>
142132
<actionGroup ref="StorefrontOpenProductEntityPageActionGroup" stepKey="openProductInStoreFront1">
143133
<argument name="product" value="$createConfigProduct$"/>
144134
</actionGroup>

app/code/Magento/Catalog/Test/Mftf/Test/StorefrontProductNameWithDoubleQuoteTest/StorefrontProductNameWithHTMLEntitiesTest.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1010
<test name="StorefrontProductNameWithHTMLEntitiesTest">
1111
<annotations>
1212
<features value="Catalog"/>
@@ -48,11 +48,6 @@
4848
</actionGroup>
4949

5050
<!--Open product display page-->
51-
<click selector="{{StorefrontCategoryProductSection.ProductTitleByName(productWithHTMLEntityOne.name)}}" stepKey="clickProductToGoProductPage"/>
52-
<waitForPageLoad stepKey="waitForProductDisplayPageLoad2"/>
53-
54-
<actionGroup ref="AssertStorefrontProductInfoMainProductNameActionGroup" stepKey="seeCorrectName">
55-
<argument name="value" value="{{productWithHTMLEntityOne.name}}"/>
5651
<actionGroup ref="StorefrontOpenProductFromCategoryPageActionGroup" stepKey="clickProductToGoProductPage">
5752
<argument name="productName" value="{{productWithHTMLEntityOne.name}}"/>
5853
</actionGroup>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/StorefrontConfigurableProductDetailsTest/StorefrontConfigurableProductCanAddToCartTest.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1010
<test name="StorefrontConfigurableProductCanAddToCartTest">
1111
<annotations>
1212
<features value="ConfigurableProduct"/>
@@ -47,14 +47,6 @@
4747
</after>
4848

4949
<!-- Verify adding configurable product to cart after an option is selected in storefront product view -->
50-
51-
<amOnPage url="{{_defaultProduct.urlKey}}.html" stepKey="amOnConfigurableProductPage"/>
52-
<waitForPageLoad stepKey="wait"/>
53-
<actionGroup ref="AssertStorefrontProductInfoMainProductNameActionGroup" stepKey="seeProductName">
54-
<argument name="value" value="{{_defaultProduct.name}}"/>
55-
</actionGroup>
56-
<selectOption userInput="{{colorProductAttribute1.name}}" selector="{{StorefrontProductInfoMainSection.productAttributeOptionsSelectButton}}" stepKey="selectOption1"/>
57-
5850
<actionGroup ref="OpenStoreFrontProductPageActionGroup" stepKey="amOnConfigurableProductPage">
5951
<argument name="productUrlKey" value="{{_defaultProduct.urlKey}}"/>
6052
</actionGroup>
@@ -66,7 +58,6 @@
6658
<argument name="attributeLabel" value="{{colorProductAttribute.default_label}}"/>
6759
<argument name="optionLabel" value="{{colorProductAttribute1.name}}"/>
6860
</actionGroup>
69-
7061
<waitForElementVisible selector="{{StorefrontProductInfoMainSection.AddToCart}}" stepKey="waitForAddToCartVisible"/>
7162
<actionGroup ref="StorefrontAddProductToCartActionGroup" stepKey="addProductToCart">
7263
<argument name="product" value="_defaultProduct"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/StorefrontConfigurableProductDetailsTest/StorefrontConfigurableProductCantAddToCartTest.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1010
<test name="StorefrontConfigurableProductCantAddToCartTest">
1111
<annotations>
1212
<features value="ConfigurableProduct"/>
@@ -47,10 +47,6 @@
4747
</after>
4848

4949
<!-- Verify not able to add configurable product to cart when no option is selected in storefront product view -->
50-
<amOnPage url="{{_defaultProduct.urlKey}}.html" stepKey="amOnConfigurableProductPage"/>
51-
<waitForPageLoad stepKey="wait"/>
52-
<actionGroup ref="AssertStorefrontProductInfoMainProductNameActionGroup" stepKey="seeProductName">
53-
<argument name="value" value="{{_defaultProduct.name}}"/>
5450
<actionGroup ref="OpenStoreFrontProductPageActionGroup" stepKey="amOnConfigurableProductPage">
5551
<argument name="productUrlKey" value="{{_defaultProduct.urlKey}}"/>
5652
</actionGroup>

0 commit comments

Comments
 (0)