Skip to content

Commit d0e1c98

Browse files
committed
ACQE-8719: Void a Sales Order placed with PayPal Standard
- Modified grab element actions in test file
1 parent 73432ac commit d0e1c98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@
8787
<actionGroup ref="AdminOrderViewCheckStatusActionGroup" stepKey="checkOrderStatusAfterVoid">
8888
<argument name="status" value="Processing"/>
8989
</actionGroup>
90+
<!-- Grab transaction ID for validation -->
91+
<waitForElementVisible selector="{{AdminOrderPaymentInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey="waitForGrabLastTransactionID"/>
92+
<grabTextFrom selector="{{AdminOrderPaymentInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey="grabLastTransactionID"/>
9093
<!-- Verify void authorization message in comments history -->
9194
<actionGroup ref="AdminOpenOrderCommentsHistoryActionGroup" stepKey="clickOnCommentsHistory"/>
92-
<!-- Grab transaction ID for validation -->
93-
<waitForElementVisible selector="{{AdminOrderDetailsInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey="waitForGrabLastTransactionID"/>
94-
<grabTextFrom selector="{{AdminOrderDetailsInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey="grabLastTransactionID"/>
9595
<!-- Verify void authorization message with amount and transaction ID in comments -->
9696
<waitForText selector="{{AdminOrderCommentsTabSection.authorizationNotes('Voided authorization')}}" userInput="{{BillingAgreement.amount_note}} Transaction ID: &quot;$grabLastTransactionID&quot;" stepKey="seeVoidAuthorizationMessageWithAmount"/>
9797
<!-- Verify transactions tab shows both authorization and void transactions -->

0 commit comments

Comments
 (0)