From a44ee33041692bfe85a1852bc8d30e83e2a1c97a Mon Sep 17 00:00:00 2001 From: Sumit Bagthariya <67687255+qasumitbagthariya@users.noreply.github.com> Date: Thu, 27 Nov 2025 20:10:51 +0530 Subject: [PATCH 1/5] Bump WooCommerce "tested up to" version 10.4 --- woocommerce-square.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/woocommerce-square.php b/woocommerce-square.php index 247ea2b2..b944834c 100644 --- a/woocommerce-square.php +++ b/woocommerce-square.php @@ -22,8 +22,8 @@ * @copyright Copyright (c) 2019, Automattic, Inc. * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0 or later * - * WC requires at least: 10.1 - * WC tested up to: 10.3 + * WC requires at least: 10.2 + * WC tested up to: 10.4 */ defined( 'ABSPATH' ) || exit; @@ -63,7 +63,7 @@ class WooCommerce_Square_Loader { const MINIMUM_WP_VERSION = '6.7'; /** minimum WooCommerce version required by this plugin */ - const MINIMUM_WC_VERSION = '10.1'; + const MINIMUM_WC_VERSION = '10.2'; /** * SkyVerge plugin framework version used by this plugin From 90de3753b1fba62186358914e4cb34b1a8648e42 Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Fri, 28 Nov 2025 13:23:04 +0530 Subject: [PATCH 2/5] Update GH_TOKEN secret for e2e workflow. --- .github/workflows/e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6acb1ad2..fd866c6f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -23,7 +23,7 @@ jobs: SQUARE_APPLICATION_ID: ${{ secrets.SQUARE_APPLICATION_ID }} SQUARE_ACCESS_TOKEN: ${{ secrets.SQUARE_ACCESS_TOKEN }} SQUARE_LOCATION_ID: ${{ secrets.SQUARE_LOCATION_ID }} - GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }} + GH_TOKEN: ${{ secrets.ORG_DOWNLOADS }} permissions: pull-requests: write name: E2E tests (${{ matrix.type }}) From 3342ecf679bcbdf1a6f20c59e5ef4c0de8df1fbd Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Fri, 28 Nov 2025 15:05:04 +0530 Subject: [PATCH 3/5] E2E: Remove unwanted check from the test. --- tests/e2e/specs/b6.gift-card-partial-refund.spec.js | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/e2e/specs/b6.gift-card-partial-refund.spec.js b/tests/e2e/specs/b6.gift-card-partial-refund.spec.js index 1b5490dc..00429b0a 100644 --- a/tests/e2e/specs/b6.gift-card-partial-refund.spec.js +++ b/tests/e2e/specs/b6.gift-card-partial-refund.spec.js @@ -68,5 +68,4 @@ test( 'Partial Refund – Gift card order @giftcard', async ( { page } ) => { await doSquareRefund( page, '0.45' ); await expect( await page.getByText( 'Square Refund in the amount of $0.45 approved' ) ).toBeVisible(); - await expect( await page.getByText( 'Order status changed from Pending payment to Processing.' ) ).toBeVisible(); } ); From 1a155ae1bcfd62f0af0bcf0708059744d3237805 Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Fri, 28 Nov 2025 15:24:13 +0530 Subject: [PATCH 4/5] E2E: set fail-fast to false. --- .github/workflows/e2e.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index fd866c6f..3333612c 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -15,6 +15,7 @@ jobs: if: "${{ ( github.event_name == 'pull_request' ) || github.event_name == 'push' }}" runs-on: ubuntu-latest strategy: + fail-fast: false matrix: type: [ '@general', '@cashapp', '@sync', '@giftcard' ] env: From 1c53c6fde9a3ee941dba8bec14ed804fc303f023 Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Fri, 28 Nov 2025 21:58:09 +0530 Subject: [PATCH 5/5] E2E: Made updates for pre-orders UI updates. --- tests/e2e/utils/helper.js | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/e2e/utils/helper.js b/tests/e2e/utils/helper.js index b2f49048..e6e4e2bf 100644 --- a/tests/e2e/utils/helper.js +++ b/tests/e2e/utils/helper.js @@ -707,7 +707,6 @@ export async function completePreOrder(page, orderId) { .check(); await page.locator('#bulk-action-selector-top').selectOption('complete'); await page.locator('#doaction').click(); - await page.locator('#confirm-complete-btn').click(); } /**