Skip to content

Commit 9f2f348

Browse files
committed
Merge remote-tracking branch 'origin/MC-42004' into 2.4-develop-jet-pr1
2 parents b3bde67 + 39f9786 commit 9f2f348

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutShippingGuestInfoSection.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
<element name="shippingBlock" type="text" selector="#checkout-step-shipping"/>
2727

2828
<!--Order Summary-->
29-
<element name="itemInCart" type="button" selector="//div[@class='title']"/>
29+
<element name="itemInCart" type="button" selector="div.items-in-cart div.title" timeout="30"/>
30+
<element name="itemInCartActive" type="button" selector="div.items-in-cart.active div.title" timeout="30"/>
3031
<element name="productName" type="text" selector="//strong[@class='product-item-name']"/>
3132
</section>
3233
</sections>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontProductNameMinicartOnCheckoutPageDifferentStoreViewsTest.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<title value="Checking Product name in Minicart and on Checkout page with different store views"/>
1616
<description value="Checking Product name in Minicart and on Checkout page with different store views"/>
1717
<severity value="MAJOR"/>
18-
<testCaseId value="MAGETWO-96466"/>
18+
<testCaseId value="MC-28566"/>
1919
<useCaseId value="MAGETWO-96421"/>
2020
<group value="checkout"/>
2121
</annotations>
@@ -31,6 +31,7 @@
3131
<actionGroup ref="AdminDeleteStoreViewActionGroup" stepKey="deleteStoreView">
3232
<argument name="customStore" value="customStore"/>
3333
</actionGroup>
34+
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearGridFilter"/>
3435

3536
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
3637
</after>
@@ -95,8 +96,8 @@
9596

9697
<!--Proceed to checkout and check product name in Order Summary area-->
9798
<actionGroup ref="StorefrontClickProceedToCheckoutActionGroup" stepKey="proceedToCheckout"/>
98-
<comment userInput="Adding the comment to replace waitForShippingPageLoad action for preserving Backward Compatibility" stepKey="waitForShippingPageLoad"/>
99-
<click selector="{{CheckoutShippingGuestInfoSection.itemInCart}}" stepKey="clickItemInCart"/>
99+
<waitForElementVisible selector="{{CheckoutShippingSection.email}}" stepKey="waitForShippingPageLoad"/>
100+
<conditionalClick selector="{{CheckoutShippingGuestInfoSection.itemInCart}}" dependentSelector="{{CheckoutShippingGuestInfoSection.itemInCartActive}}" visible="false" stepKey="clickItemInCart"/>
100101
<grabTextFrom selector="{{CheckoutShippingGuestInfoSection.productName}}" stepKey="grabProductNameShipping"/>
101102
<assertStringContainsString stepKey="assertProductNameShipping">
102103
<actualResult type="const">$grabProductNameShipping</actualResult>

0 commit comments

Comments
 (0)