Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump WooCommerce "tested up to" version 9.7 #278

Merged
merged 4 commits into from
Feb 7, 2025
Merged
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
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
@@ -1,10 +1,10 @@
<?php

Check warning on line 1 in woocommerce-square.php

View workflow job for this annotation

GitHub Actions / test

plugin_header_nonexistent_domain_path

The "Domain Path" header in the plugin file must point to an existing folder. Found: "i18n/languages"
/**
* Plugin Name: WooCommerce Square
* 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 @@
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
Loading