Skip to content

Commit 330ded6

Browse files
pavanpavan
authored andcommitted
Changes made as per latest comments
1 parent f5bbdc5 commit 330ded6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@
1919
<group value="paypalExpress"/>
2020
</annotations>
2121
<before>
22-
<!-- Simple product is created and assigned to category -->
23-
<createData entity="_defaultCategory" stepKey="createCategory"/>
24-
<createData entity="SimpleProduct" stepKey="createProduct">
25-
<requiredEntity createDataKey="createCategory"/>
22+
<!-- Simple product is created -->
23+
<createData entity="simpleProductWithoutCategory" stepKey="createProduct">
2624
<field key="price">10.00</field>
2725
</createData>
2826
<!-- US Customer is created -->
@@ -49,7 +47,6 @@
4947
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
5048
<magentoCLI command="config:set {{DisableFreeShippingConfigData.path}} {{DisableFreeShippingConfigData.value}}" stepKey="disableFreeShipping"/>
5149
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
52-
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
5350
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
5451
<!-- Go to the tax rule page and delete the row created-->
5552
<actionGroup ref="AdminTaxRuleGridOpenPageActionGroup" stepKey="goToTaxRulesPageA"/>
@@ -68,7 +65,7 @@
6865
</actionGroup>
6966
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
7067
</after>
71-
<!-- Login to StoreFront -->
68+
<!-- Navigate to StoreFront -->
7269
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStoreFront"/>
7370
<!-- Add product to cart -->
7471
<actionGroup ref="AddSimpleProductToCartActionGroup" stepKey="addProductToCart">

0 commit comments

Comments
 (0)