File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
app/code/Magento/Paypal/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments