Skip to content

Commit 32c0e0c

Browse files
committed
ACQE-6742:Partial Capture Order with Payflow Edition
Testcase updated
1 parent 67e6a7c commit 32c0e0c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
</annotations>
2020
<before>
2121
<!-- Simple product is created -->
22-
<createData entity="SimpleProduct" stepKey="createProduct"/>
22+
<createData entity="SimpleProduct" stepKey="createProduct">
23+
<field key="price">125.15</field>
24+
</createData>
2325
<createData entity="SimpleProduct2" stepKey="createAnotherProduct"/>
2426
<!-- US Customer is created -->
2527
<createData entity="Simple_US_Customer_CA" stepKey="createCustomer"/>
2628
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2729
<!-- Configure PayPal Express Checkout -->
2830
<actionGroup ref="AdminConfigPaymentAdvancedThroughCLIActionGroup" stepKey="ConfigPaymentAdvanced"/>
29-
3031
<actionGroup ref="AdminConfigurationPaymentAdvancedActionGroup" stepKey="setValuesForUserAndPwd"/>
31-
3232
<magentoCLI command="config:set payment/payflow_advanced/active 1" stepKey="enablePaymentAdvancedSolution"/>
3333
<magentoCLI command="config:set payment/payflow_express_bml/active 1" stepKey="enablePaypalCredit"/>
34-
<magentoCLI command="config:set payment/payflow_express/active 1" stepKey="enablePayPalVault"/><actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
34+
<magentoCLI command="config:set payment/payflow_express/active 1" stepKey="enablePayflowExpress"/><actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
3535
<argument name="indices" value=""/>
3636
</actionGroup>
3737
<!-- Login to StoreFront -->
@@ -41,7 +41,6 @@
4141
<!-- Open Product Page to add product in the cart -->
4242
<actionGroup ref="StorefrontOpenProductEntityPageActionGroup" stepKey="amOnProductPage">
4343
<argument name="product" value="$createProduct$"/>
44-
4544
</actionGroup>
4645
<scrollTo selector="{{StorefrontProductActionSection.quantity}}" stepKey="scrollToQuantityField"/>
4746
<actionGroup ref="AddProductWithQtyToCartFromStorefrontProductPageActionGroup" stepKey="addProductToCart">
@@ -92,7 +91,7 @@
9291
<grabTextFrom selector="{{AdminOrderDetailsInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey="grabLastTransactionIDForCaptured"/>
9392
<!--Open the comment history tab and assert the comment-->
9493
<actionGroup ref="AdminOpenOrderCommentsHistoryActionGroup" stepKey="clickOnCommentsHistoryAfterSubmittingInvoice"/>
95-
<waitForText selector="{{AdminOrderCommentsTabSection.orderCommentsWithType('Captured amount')}}" userInput="Captured amount of $133.00 online. Transaction ID: &quot;{$grabLastTransactionIDForCaptured}&quot;" stepKey="seeOrderHistoryNotesAfterSubmittingInvoice"/>
94+
<waitForText selector="{{AdminOrderCommentsTabSection.orderCommentsWithType('Captured amount')}}" userInput="Captured amount of $135.15 online. Transaction ID: &quot;{$grabLastTransactionIDForCaptured}&quot;" stepKey="seeOrderHistoryNotesAfterSubmittingInvoice"/>
9695
<!-- Check the last transaction of the order and validate the details for Captured and Authorization-->
9796
<actionGroup ref="AdminViewAuthorizationTransactionsInOrderActionGroup" stepKey="validateAuthTransaction"/>
9897
<waitForText selector="{{AdminTransactionsGridSection.transactionData('Is Closed')}}" userInput="No" stepKey="seeIfClosedHeaderIsSetAsYesForAuthorization"/>

0 commit comments

Comments
 (0)