Skip to content

Commit

Permalink
Merge pull request #278 from woocommerce/Woo-9.7
Browse files Browse the repository at this point in the history
Bump WooCommerce "tested up to" version 9.7
  • Loading branch information
vikrampm1 authored Feb 7, 2025
2 parents 6c3af2a + 548f9ef commit a38e52b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
9 changes: 5 additions & 4 deletions tests/e2e/specs/e1.subscriptions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,14 @@ test.describe('Subscriptions Tests @general', () => {
)
.first()
.click();
await page
const methodLocator = await page
.locator(
'.wc-block-checkout__payment-method .wc-block-components-radio-control'
)
.locator('input.wc-block-components-radio-control__input')
.first()
.check();
.locator('input.wc-block-components-radio-control__input');
await methodLocator.first().waitFor();
await methodLocator.first().check();

await placeOrder(page, isBlock);

// verify order received page
Expand Down
4 changes: 1 addition & 3 deletions tests/e2e/utils/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,7 @@ export async function fillCreditCardFields( page, isCheckout = true, isBlock = t
}

export async function placeOrder( page, isBlock = true ) {
if ( isBlock ) {
await page.waitForTimeout( 2000 );
}
await page.waitForTimeout( 2000 );
await page.locator( '.wc-block-components-checkout-place-order-button, #place_order' ).first().click();
}

Expand Down
10 changes: 5 additions & 5 deletions woocommerce-square.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Requires Plugins: woocommerce
* Version: 4.8.5
* Plugin URI: https://woocommerce.com/products/square/
* Requires at least: 6.5
* Requires at least: 6.6
* Tested up to: 6.7
* Requires PHP: 7.4
* PHP tested up to: 8.3
Expand All @@ -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: 9.4
* WC tested up to: 9.6
* WC requires at least: 9.5
* WC tested up to: 9.7
*/

defined( 'ABSPATH' ) || exit;
Expand Down Expand Up @@ -52,10 +52,10 @@ class WooCommerce_Square_Loader {
const MINIMUM_PHP_VERSION = '7.4.0';

/** minimum WordPress version required by this plugin */
const MINIMUM_WP_VERSION = '6.5';
const MINIMUM_WP_VERSION = '6.6';

/** minimum WooCommerce version required by this plugin */
const MINIMUM_WC_VERSION = '9.4';
const MINIMUM_WC_VERSION = '9.5';

/**
* SkyVerge plugin framework version used by this plugin
Expand Down

0 comments on commit a38e52b

Please sign in to comment.