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 48
48
<deleteData stepKey =" deleteCategory" createDataKey =" createCategory" />
49
49
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
50
50
</after >
51
+ <!-- Login to Storefront -->
51
52
<actionGroup ref =" LoginToStorefrontActionGroup" stepKey =" signUpNewUser" >
52
53
<argument name =" Customer" value =" $$createCustomer$$" />
53
54
</actionGroup >
55
+ <!-- Go to category page-->
54
56
<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 -->
55
61
<actionGroup ref =" StorefrontAddProductToCartFromCategoryActionGroup" stepKey =" addProductToCart" >
56
62
<argument name =" productName" value =" $$createProduct.name$$" />
57
63
</actionGroup >
58
64
<!-- Open mini cart-->
59
65
<actionGroup ref =" StorefrontClickOnMiniCartActionGroup" stepKey =" clickMiniCart" />
60
66
<!-- proceed to checkout -->
61
67
<actionGroup ref =" StorefrontClickProceedToCheckoutActionGroup" stepKey =" goToCheckout" />
62
-
63
-
64
68
<!-- Verify Shipping address-->
65
69
<grabTextFrom selector =" {{CheckoutShippingSection.savedAddress}}" stepKey =" grabAddress" />
66
70
<!-- Assert the value of created customer attribute in shipping address block of checkout page-->
67
- <assertStringContainsString stepKey =" assertCustomerAddresAttribute " >
71
+ <assertStringContainsString stepKey =" assertCustomerAddressAttribute " >
68
72
<actualResult type =" variable" >$grabAddress</actualResult >
69
73
<expectedResult type =" string" >{{US_Address_TX.street[0]}}</expectedResult >
70
74
</assertStringContainsString >
You can’t perform that action at this time.
0 commit comments