|
19 | 19 | </annotations> |
20 | 20 | <before> |
21 | 21 | <!-- 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> |
23 | 25 | <createData entity="SimpleProduct2" stepKey="createAnotherProduct"/> |
24 | 26 | <!-- US Customer is created --> |
25 | 27 | <createData entity="Simple_US_Customer_CA" stepKey="createCustomer"/> |
26 | 28 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
27 | 29 | <!-- Configure PayPal Express Checkout --> |
28 | 30 | <actionGroup ref="AdminConfigPaymentAdvancedThroughCLIActionGroup" stepKey="ConfigPaymentAdvanced"/> |
29 | | - |
30 | 31 | <actionGroup ref="AdminConfigurationPaymentAdvancedActionGroup" stepKey="setValuesForUserAndPwd"/> |
31 | | - |
32 | 32 | <magentoCLI command="config:set payment/payflow_advanced/active 1" stepKey="enablePaymentAdvancedSolution"/> |
33 | 33 | <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"> |
35 | 35 | <argument name="indices" value=""/> |
36 | 36 | </actionGroup> |
37 | 37 | <!-- Login to StoreFront --> |
|
41 | 41 | <!-- Open Product Page to add product in the cart --> |
42 | 42 | <actionGroup ref="StorefrontOpenProductEntityPageActionGroup" stepKey="amOnProductPage"> |
43 | 43 | <argument name="product" value="$createProduct$"/> |
44 | | - |
45 | 44 | </actionGroup> |
46 | 45 | <scrollTo selector="{{StorefrontProductActionSection.quantity}}" stepKey="scrollToQuantityField"/> |
47 | 46 | <actionGroup ref="AddProductWithQtyToCartFromStorefrontProductPageActionGroup" stepKey="addProductToCart"> |
|
92 | 91 | <grabTextFrom selector="{{AdminOrderDetailsInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey="grabLastTransactionIDForCaptured"/> |
93 | 92 | <!--Open the comment history tab and assert the comment--> |
94 | 93 | <actionGroup ref="AdminOpenOrderCommentsHistoryActionGroup" stepKey="clickOnCommentsHistoryAfterSubmittingInvoice"/> |
95 | | - <waitForText selector="{{AdminOrderCommentsTabSection.orderCommentsWithType('Captured amount')}}" userInput="Captured amount of $133.00 online. Transaction ID: "{$grabLastTransactionIDForCaptured}"" stepKey="seeOrderHistoryNotesAfterSubmittingInvoice"/> |
| 94 | + <waitForText selector="{{AdminOrderCommentsTabSection.orderCommentsWithType('Captured amount')}}" userInput="Captured amount of $135.15 online. Transaction ID: "{$grabLastTransactionIDForCaptured}"" stepKey="seeOrderHistoryNotesAfterSubmittingInvoice"/> |
96 | 95 | <!-- Check the last transaction of the order and validate the details for Captured and Authorization--> |
97 | 96 | <actionGroup ref="AdminViewAuthorizationTransactionsInOrderActionGroup" stepKey="validateAuthTransaction"/> |
98 | 97 | <waitForText selector="{{AdminTransactionsGridSection.transactionData('Is Closed')}}" userInput="No" stepKey="seeIfClosedHeaderIsSetAsYesForAuthorization"/> |
|
0 commit comments