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 }}) diff --git a/readme.txt b/readme.txt index 4f4cd329..69b24df0 100644 --- a/readme.txt +++ b/readme.txt @@ -1,8 +1,8 @@ === WooCommerce Square === Contributors: woocommerce, automattic Tags: credit card, square, woocommerce, inventory sync -Requires at least: 6.5 -Tested up to: 6.8 +Requires at least: 6.7 +Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 5.1.1 License: GPL-3.0-or-later 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..30139e70 100644 --- a/woocommerce-square.php +++ b/woocommerce-square.php @@ -5,7 +5,7 @@ * Version: 5.1.1 * Plugin URI: https://woocommerce.com/products/square/ * Requires at least: 6.7 - * Tested up to: 6.8 + * Tested up to: 6.9 * Requires PHP: 7.4 * PHP tested up to: 8.4 *