From 479ce46a6709726a9540f215fd6de88ca5a5a4d5 Mon Sep 17 00:00:00 2001 From: Ankit K Date: Tue, 16 Apr 2024 18:26:16 +0530 Subject: [PATCH 1/2] Woo Bump 8.8 --- woocommerce-gateway-payfast.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/woocommerce-gateway-payfast.php b/woocommerce-gateway-payfast.php index 3b4b2cf..2cfe7ae 100644 --- a/woocommerce-gateway-payfast.php +++ b/woocommerce-gateway-payfast.php @@ -9,8 +9,8 @@ * Version: 1.6.2 * Requires at least: 6.3 * Tested up to: 6.5 - * WC requires at least: 8.5 - * WC tested up to: 8.7 + * WC requires at least: 8.6 + * WC tested up to: 8.8 * Requires PHP: 7.4 * PHP tested up to: 8.3 * From 389dd302322dbaf6c5a4c85d769c8fb2cba3d8e4 Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Mon, 29 Apr 2024 20:00:28 +0530 Subject: [PATCH 2/2] Fix E2E tests. --- tests/e2e/specs/payment-flow/subscription-payment.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/specs/payment-flow/subscription-payment.test.js b/tests/e2e/specs/payment-flow/subscription-payment.test.js index 170323c..9977870 100644 --- a/tests/e2e/specs/payment-flow/subscription-payment.test.js +++ b/tests/e2e/specs/payment-flow/subscription-payment.test.js @@ -52,7 +52,7 @@ test.describe( 'Verify Payfast Subscription Payment Process - @foundational', as const payfastPaymentMethod = await checkoutBlock.locator( 'label[for="radio-control-wc-payment-method-options-payfast"]' ); await payfastPaymentMethod.click(); - await checkoutBlock.getByRole( 'button', {name: 'Place Order'} ).click(); + await checkoutBlock.locator( 'button.wc-block-components-checkout-place-order-button' ).click(); await waitForURL; // Pay on Payfast checkout page.