Skip to content

Commit 64acc54

Browse files
committed
ACQE-8554: Create partial capture for order paid with PayPal Payments Advanced
- Resolved undefined variable and correct transaction status assertions in PayPal Payments Advanced test
1 parent 7b05b32 commit 64acc54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,18 @@
174174
<waitForElementClickable selector="{{AdminProductFormActionSection.backButton}}" stepKey="waitToClickBackButtonFromCreditMemo"/>
175175
<click selector="{{AdminProductFormActionSection.backButton}}" stepKey="clickBackButtonFromCreditMemo"/>
176176
<!-- Step 8: Go to Transactions tab -->
177-
<!-- Verify Authorization transaction is present, Closed = No -->
177+
<!-- Verify Authorization transaction is present, Closed = Yes -->
178178
<actionGroup ref="AdminAssertTransactionTypeInTransactionTabActionGroup" stepKey="assertAuthorizationTransactionType">
179179
<argument name="transactionType" value="authorization"/>
180180
</actionGroup>
181-
<waitForText selector="{{AdminTransactionsGridSection.transactionData('Is Closed')}}" userInput="No" stepKey="seeIfClosedHeaderIsSetAsNoForAuthorization"/>
181+
<waitForText selector="{{AdminTransactionsGridSection.transactionData('Is Closed')}}" userInput="Yes" stepKey="seeIfClosedHeaderIsSetAsYesForAuthorization"/>
182182
<waitForElementClickable selector="{{AdminProductFormActionSection.backButton}}" stepKey="waitForBackButtonToBeClickedFromAuthorization"/>
183183
<click selector="{{AdminProductFormActionSection.backButton}}" stepKey="clickBackButtonFromAuthorization"/>
184-
<!-- Verify Capture transaction is present, Closed = No -->
184+
<!-- Verify Capture transaction is present, Closed = Yes -->
185185
<actionGroup ref="AdminAssertTransactionTypeInTransactionTabActionGroup" stepKey="assertCaptureTransactionType">
186186
<argument name="transactionType" value="capture"/>
187187
</actionGroup>
188-
<waitForText selector="{{AdminTransactionsGridSection.transactionData('Is Closed')}}" userInput="No" stepKey="seeIfClosedHeaderIsSetAsNoForCapture"/>
188+
<waitForText selector="{{AdminTransactionsGridSection.transactionData('Is Closed')}}" userInput="Yes" stepKey="seeIfClosedHeaderIsSetAsYesForCapture"/>
189189
<waitForElementClickable selector="{{AdminProductFormActionSection.backButton}}" stepKey="waitForBackButtonToBeClickedFromCapture"/>
190190
<click selector="{{AdminProductFormActionSection.backButton}}" stepKey="clickBackButtonFromCapture"/>
191191
<!-- Verify Refund transaction is present, Closed = Yes -->

0 commit comments

Comments
 (0)