File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export class WooCommerceOrderEdit extends WooCommerceOrderEditBase {
2525
2626 totalPayPalFee = ( ) => this . totalsTableRow ( 'PayPal Fee:' ) ;
2727 totalPayPalPayout = ( ) => this . totalsTableRow ( 'PayPal Payout' ) ;
28+ processorResponseRow = ( ) => this . totalsTableRow ( 'Processor Response:' ) ;
2829
2930 refundViaButton = ( paymentMethod ) =>
3031 this . page . locator ( '.do-api-refund' , {
@@ -194,6 +195,13 @@ export class WooCommerceOrderEdit extends WooCommerceOrderEditBase {
194195 }
195196 }
196197
198+ if ( fundingSource === 'acdc' ) {
199+ await expect (
200+ this . processorResponseRow ( ) ,
201+ 'Assert Processor Response row is not visible for approved ACDC orders'
202+ ) . not . toBeVisible ( ) ;
203+ }
204+
197205 if ( fundingSource === 'oxxo' ) {
198206 await expect (
199207 this . seeOXXOVoucherButton ( ) ,
You can’t perform that action at this time.
0 commit comments