diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6acb1ad2..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: @@ -23,7 +24,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 }}) 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(); } ); 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(); } /** 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