Skip to content

Commit 4713d8a

Browse files
ACQE-6375 : Registered Checkout Using PayPal Smart Button and Flat Rate
enable flat rate and changes simple product data
1 parent e083a44 commit 4713d8a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@
2121
<before>
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2323
<!-- Enable Flat rate -->
24-
<!-- <magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>-->
24+
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
2525
<!-- Create Category -->
2626
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
27-
<createData entity="SimpleProduct2" stepKey="createProduct">
28-
<field key="price">10</field>
29-
<requiredEntity createDataKey="createCategory"/>
27+
<createData entity="ApiSimplePrice10Qty10" stepKey="createProduct">
28+
<requiredEntity createDataKey="createCategory"/>
3029
</createData>
3130
<!-- Enabling PayPal Express Checkout -->
3231
<magentoCLI command="config:set {{StorefrontPaypalExpressSalePaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressSalePaymentActionOptionConfigData.value}}" stepKey="setPaymentActionSale"/>
@@ -57,6 +56,7 @@
5756
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
5857
<argument name="indices" value=""/>
5958
</actionGroup>
59+
<waitForPageLoad stepKey="waitForProductToLoad"/>
6060
<!-- Add simple product to cart -->
6161
<!-- Open product page -->
6262
<actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openStorefrontSimpleProductPage">

0 commit comments

Comments
 (0)