Skip to content

Commit 5c24609

Browse files
ACQE-6375 : Registered Checkout Using PayPal Smart Button and Flat Rate
Added reindex command
1 parent 4aa730f commit 5c24609

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/RegisteredPaypalCheckoutWithFlatRatePaymentActionSaleTest.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,27 @@
4848
<deleteData stepKey="deleteCategory" createDataKey="createCategory"/>
4949
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
5050
</after>
51+
<!-- Login to Storefront -->
5152
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="signUpNewUser">
5253
<argument name="Customer" value="$$createCustomer$$"/>
5354
</actionGroup>
55+
<!-- Go to category page-->
5456
<amOnPage url="{{StorefrontCategoryPage.url($$createCategory.custom_attributes[url_key]$$)}}" stepKey="navigateToCategoryPage"/>
57+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
58+
<argument name="indices" value=""/>
59+
</actionGroup>
60+
<!-- Add simple product to cart -->
5561
<actionGroup ref="StorefrontAddProductToCartFromCategoryActionGroup" stepKey="addProductToCart">
5662
<argument name="productName" value="$$createProduct.name$$"/>
5763
</actionGroup>
5864
<!-- Open mini cart-->
5965
<actionGroup ref="StorefrontClickOnMiniCartActionGroup" stepKey="clickMiniCart"/>
6066
<!--proceed to checkout -->
6167
<actionGroup ref="StorefrontClickProceedToCheckoutActionGroup" stepKey="goToCheckout"/>
62-
63-
6468
<!-- Verify Shipping address-->
6569
<grabTextFrom selector="{{CheckoutShippingSection.savedAddress}}" stepKey="grabAddress"/>
6670
<!-- Assert the value of created customer attribute in shipping address block of checkout page-->
67-
<assertStringContainsString stepKey="assertCustomerAddresAttribute">
71+
<assertStringContainsString stepKey="assertCustomerAddressAttribute">
6872
<actualResult type="variable">$grabAddress</actualResult>
6973
<expectedResult type="string">{{US_Address_TX.street[0]}}</expectedResult>
7074
</assertStringContainsString>

0 commit comments

Comments
 (0)