Skip to content

Commit f5bbdc5

Browse files
pavanpavan
authored andcommitted
Changes done as per latest comments
1 parent c7b1c99 commit f5bbdc5

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

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

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,14 @@
2020
</annotations>
2121
<before>
2222
<!-- Simple product is created and assigned to category -->
23-
<!-- <createData entity="_defaultCategory" stepKey="createCategory"/>-->
23+
<createData entity="_defaultCategory" stepKey="createCategory"/>
2424
<createData entity="SimpleProduct" stepKey="createProduct">
2525
<requiredEntity createDataKey="createCategory"/>
2626
<field key="price">10.00</field>
2727
</createData>
2828
<!-- US Customer is created -->
2929
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
3030
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
31-
<!-- &lt;!&ndash; Configure Paypal Express Checkout &ndash;&gt;-->
32-
<!-- <actionGroup ref="AdminPayPalExpressCheckoutEnableActionGroup" stepKey="ConfigPayPalExpress">-->
33-
<!-- <argument name="credentials" value="SamplePaypalExpressConfig2"/>-->
34-
<!-- </actionGroup>-->
3531
<!--Add new tax rates. Go to tax rule page -->
3632
<actionGroup ref="AddNewTaxRuleActionGroup" stepKey="addFirstTaxRuleActionGroup"/>
3733
<fillField stepKey="fillRuleName" selector="{{AdminTaxRulesSection.ruleName}}" userInput="{{TaxRule.name}}"/>
@@ -52,9 +48,8 @@
5248
<!-- Roll back configuration -->
5349
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
5450
<magentoCLI command="config:set {{DisableFreeShippingConfigData.path}} {{DisableFreeShippingConfigData.value}}" stepKey="disableFreeShipping"/>
55-
<!-- <magentoCLI command="config:set payment/paypal_express/active 0" stepKey="disablePayPalExpress"/>-->
5651
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
57-
<!-- <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>-->
52+
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
5853
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
5954
<!-- Go to the tax rule page and delete the row created-->
6055
<actionGroup ref="AdminTaxRuleGridOpenPageActionGroup" stepKey="goToTaxRulesPageA"/>
@@ -79,9 +74,7 @@
7974
<actionGroup ref="AddSimpleProductToCartActionGroup" stepKey="addProductToCart">
8075
<argument name="product" value="$$createProduct$$"/>
8176
</actionGroup>
82-
<!-- Goto Checkout Page -->
83-
<actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart"/>
84-
<waitForPageLoad stepKey="waitForShippingPage"/>
77+
<actionGroup ref="StorefrontOpenCheckoutPageActionGroup" stepKey="goToCheckout"/>
8578
<!--Fill Shipping Address-->
8679
<actionGroup ref="FillGuestCheckoutShippingAddressFormActionGroup" stepKey="fillShippingAddress"/>
8780
<selectOption selector="{{CheckoutCartSummarySection.stateProvince}}" userInput="Texas" stepKey="fillState"/>

0 commit comments

Comments
 (0)