Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }})
Expand Down
1 change: 0 additions & 1 deletion tests/e2e/specs/b6.gift-card-partial-refund.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
} );
1 change: 0 additions & 1 deletion tests/e2e/utils/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down
6 changes: 3 additions & 3 deletions woocommerce-square.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
Loading