From f9148cf41bfd35f9b85d6fde6876c85607eda001 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 15:58:22 +0000 Subject: [PATCH 1/4] GitHub Actions(deps): Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/cypress-matrix.yml | 2 +- .github/workflows/cypress-tests-beta.yml | 2 +- .github/workflows/cypress.yml | 2 +- .github/workflows/upload-artifact-on-push.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cypress-matrix.yml b/.github/workflows/cypress-matrix.yml index a36bf23ca..3830c7dc4 100644 --- a/.github/workflows/cypress-matrix.yml +++ b/.github/workflows/cypress-matrix.yml @@ -124,7 +124,7 @@ jobs: - name: Store screenshots of test failures if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: screenshots path: ./tests/cypress/screenshots diff --git a/.github/workflows/cypress-tests-beta.yml b/.github/workflows/cypress-tests-beta.yml index fe4be16fd..c1fead14d 100644 --- a/.github/workflows/cypress-tests-beta.yml +++ b/.github/workflows/cypress-tests-beta.yml @@ -104,7 +104,7 @@ jobs: - name: Store screenshots of test failures if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: screenshots path: ./tests/cypress/screenshots diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 80fe9d5f7..b7c284e5e 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -111,7 +111,7 @@ jobs: - name: Store screenshots of test failures if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: screenshots path: ./tests/cypress/screenshots diff --git a/.github/workflows/upload-artifact-on-push.yml b/.github/workflows/upload-artifact-on-push.yml index 0cba598a2..3d913a6e1 100644 --- a/.github/workflows/upload-artifact-on-push.yml +++ b/.github/workflows/upload-artifact-on-push.yml @@ -105,7 +105,7 @@ jobs: working-directory: ${{ steps.workflow.outputs.DIST }} run: find . - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ steps.workflow.outputs.PACKAGE }} path: ${{ steps.workflow.outputs.DIST }} From 254b22d41ccaea92dcc1c3853d36150cf096bd36 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Wed, 3 Jan 2024 15:47:17 -0500 Subject: [PATCH 2/4] update plugin to version 3.7.3 --- bluehost-wordpress-plugin.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bluehost-wordpress-plugin.php b/bluehost-wordpress-plugin.php index 3ce18a8bb..61a2184a2 100644 --- a/bluehost-wordpress-plugin.php +++ b/bluehost-wordpress-plugin.php @@ -12,7 +12,7 @@ * Plugin URI: https://bluehost.com * Update URI: https://github.com/bluehost/bluehost-wordpress-plugin * Description: WordPress plugin that integrates a WordPress site with the Bluehost control panel, including performance, security, and update features. - * Version: 3.7.2 + * Version: 3.7.3 * Requires at least: 6.0 * Requires PHP: 7.1 * Tested up to: 6.4.2 @@ -32,7 +32,7 @@ } // Define constants -define( 'BLUEHOST_PLUGIN_VERSION', '3.7.2' ); +define( 'BLUEHOST_PLUGIN_VERSION', '3.7.3' ); define( 'BLUEHOST_PLUGIN_FILE', __FILE__ ); define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); diff --git a/package-lock.json b/package-lock.json index 233646e17..589b9cb54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "bluehost-wordpress-plugin", - "version": "3.7.2", + "version": "3.7.3", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "3.7.2", + "version": "3.7.3", "license": "GPL-2.0-or-later", "dependencies": { "@heroicons/react": "^2.0.18", diff --git a/package.json b/package.json index 223be53b2..8a742ff52 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "description": "WordPress plugin that integrates your WordPress site with the Bluehost control panel, including performance, security, and update features.", "license": "GPL-2.0-or-later", - "version": "3.7.2", + "version": "3.7.3", "private": true, "repository": { "type": "git", From 07cc43599aa7832317942d68bb4fd02e762a6126 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Wed, 3 Jan 2024 17:36:18 -0500 Subject: [PATCH 3/4] update wonder blocks module - Upgrading newfold-labs/wp-module-patterns (0.1.11 => 0.1.12) --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index d76d91f84..9bc62562f 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ "newfold-labs/wp-module-marketplace": "^2.2.0", "newfold-labs/wp-module-notifications": "^1.2.1", "newfold-labs/wp-module-onboarding": "^1.11.12", - "newfold-labs/wp-module-patterns": "^0.1.11", + "newfold-labs/wp-module-patterns": "^0.1.12", "newfold-labs/wp-module-performance": "^1.3.0", "newfold-labs/wp-module-runtime": "^1.0.7", "newfold-labs/wp-module-secure-passwords": "^1.1", diff --git a/composer.lock b/composer.lock index 19a0b5664..f1511c39d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d9f07632625d74fd2ad337826e03c808", + "content-hash": "870171eadbf1bfa6365124cd4a3264d1", "packages": [ { "name": "doctrine/inflector", @@ -1013,16 +1013,16 @@ }, { "name": "newfold-labs/wp-module-patterns", - "version": "0.1.11", + "version": "0.1.12", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-patterns.git", - "reference": "ebec3c249969d86fd74e95c2f86860b7f5918ee5" + "reference": "6f4189c97a9e37f24531af8cfae986041d4b613b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-patterns/zipball/ebec3c249969d86fd74e95c2f86860b7f5918ee5", - "reference": "ebec3c249969d86fd74e95c2f86860b7f5918ee5", + "url": "https://api.github.com/repos/newfold-labs/wp-module-patterns/zipball/6f4189c97a9e37f24531af8cfae986041d4b613b", + "reference": "6f4189c97a9e37f24531af8cfae986041d4b613b", "shasum": "" }, "require-dev": { @@ -1056,10 +1056,10 @@ ], "description": "WordPress Cloud Patterns", "support": { - "source": "https://github.com/newfold-labs/wp-module-patterns/tree/0.1.11", + "source": "https://github.com/newfold-labs/wp-module-patterns/tree/0.1.12", "issues": "https://github.com/newfold-labs/wp-module-patterns/issues" }, - "time": "2023-12-05T20:56:40+00:00" + "time": "2024-01-03T21:56:57+00:00" }, { "name": "newfold-labs/wp-module-performance", From 2dbdc2846e1f8b0b979db92f7407034b9632a520 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Wed, 3 Jan 2024 17:41:34 -0500 Subject: [PATCH 4/4] use fixed module-based wonder blocks test --- cypress.config.js | 1 - tests/cypress/integration/wonder-blocks.cy.js | 44 ------------------- 2 files changed, 45 deletions(-) delete mode 100644 tests/cypress/integration/wonder-blocks.cy.js diff --git a/cypress.config.js b/cypress.config.js index db7549c17..d63ccccaf 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -77,7 +77,6 @@ module.exports = defineConfig( { excludeSpecPattern: [ 'vendor/newfold-labs/wp-module-onboarding/tests/cypress/integration/4-design-steps/**', 'vendor/newfold-labs/wp-module-onboarding/tests/cypress/integration/wp-module-support/', - 'vendor/newfold-labs/wp-module-patterns/tests/cypress/integration/', ], }, retries: 1, diff --git a/tests/cypress/integration/wonder-blocks.cy.js b/tests/cypress/integration/wonder-blocks.cy.js deleted file mode 100644 index 72b410c5b..000000000 --- a/tests/cypress/integration/wonder-blocks.cy.js +++ /dev/null @@ -1,44 +0,0 @@ -// - -describe( 'Wonder Blocks', function () { - before( () => { - cy.visit( '/wp-admin/post-new.php' ); - } ); - - it( 'Wonder Blocks button exists', () => { - cy.get( '#nfd-wba-toolbar-button' ).should( 'exist' ); - } ); - - it( 'Wonder Blocks button opens modal', () => { - cy.wait( 1000 ); - cy.get( 'body' ).click( { force: true } ); // clear welcome guide - cy.wait( 100 ); - cy.get( '#nfd-wba-toolbar-button button' ).click(); - cy.wait( 100 ); - // body has class modal-open - cy.get( 'body' ).should( 'have.class', 'modal-open' ); - // modal window exists - cy.get( '.nfd-wba-modal[role="dialog"]' ).should( 'be.visible' ); - } ); - - it( 'Close buttons closes modal', () => { - cy.get( - '.nfd-wba-modal__header button[aria-label="Close dialog"]' - ).should( 'exist' ); - cy.get( - '.nfd-wba-modal__header button[aria-label="Close dialog"]' - ).click(); - cy.wait( 100 ); - cy.get( 'body' ).should( 'not.have.class', 'modal-open' ); - cy.get( '.nfd-wba-modal[role="dialog"]' ).should( 'not.exist' ); - } ); - - it( 'ESC button closes modal too', () => { - cy.get( '#nfd-wba-toolbar-button button' ).click(); - cy.wait( 100 ); - cy.get( '.nfd-wba-modal[role="dialog"]' ).should( 'be.visible' ); - cy.get( 'body' ).type( '{esc}' ); - cy.wait( 100 ); - cy.get( '.nfd-wba-modal[role="dialog"]' ).should( 'not.exist' ); - } ); -} );