From 589e06be1477f9ba0827792ff901e854b77b02b0 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Fri, 9 Aug 2024 16:23:25 +0530 Subject: [PATCH 1/3] Bump Onboarding to 2.3.11 --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index fe229927..e063eb52 100644 --- a/composer.json +++ b/composer.json @@ -86,7 +86,7 @@ "newfold-labs/wp-module-marketplace": "^2.4.0", "newfold-labs/wp-module-migration": "^1.0.9", "newfold-labs/wp-module-notifications": "^1.5.0", - "newfold-labs/wp-module-onboarding": "^2.3.10", + "newfold-labs/wp-module-onboarding": "^2.3.11", "newfold-labs/wp-module-patterns": "^2.3.1", "newfold-labs/wp-module-performance": "2.0.0 as 1.9.9", "newfold-labs/wp-module-runtime": "^1.0.11", diff --git a/composer.lock b/composer.lock index a26467d6..f8c61f84 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": "ffde9f480d3320ba1c489ecb051d658f", + "content-hash": "a2c79b9319a02d67b194144c27c1d171", "packages": [ { "name": "doctrine/inflector", @@ -1201,16 +1201,16 @@ }, { "name": "newfold-labs/wp-module-onboarding", - "version": "2.3.10", + "version": "2.3.11", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding.git", - "reference": "1cf639e7ed5f1b6f556daa2eba5039e08a7b7c3e" + "reference": "e9399e0ba9f0c185f630016e2bb68d29156dcd37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/1cf639e7ed5f1b6f556daa2eba5039e08a7b7c3e", - "reference": "1cf639e7ed5f1b6f556daa2eba5039e08a7b7c3e", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/e9399e0ba9f0c185f630016e2bb68d29156dcd37", + "reference": "e9399e0ba9f0c185f630016e2bb68d29156dcd37", "shasum": "" }, "require": { @@ -1256,10 +1256,10 @@ ], "description": "Next-generation WordPress Onboarding for WordPress sites at Newfold Digital.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.3.10", + "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.3.11", "issues": "https://github.com/newfold-labs/wp-module-onboarding/issues" }, - "time": "2024-08-05T10:56:44+00:00" + "time": "2024-08-09T10:20:09+00:00" }, { "name": "newfold-labs/wp-module-onboarding-data", From 9984ef7be12b8b384c02c3e7264277ea5f6a5aed Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Fri, 9 Aug 2024 16:25:46 +0530 Subject: [PATCH 2/3] Skip Onboarding tests for WP < 6.5 --- cypress.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress.config.js b/cypress.config.js index de2ada08..09784ab6 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -60,7 +60,8 @@ module.exports = defineConfig({ if ( semver.satisfies( config.env.wpSemverVersion, '<6.5.0' ) || semver.satisfies( config.env.phpSemverVersion, '<7.4.0' )) { config.excludeSpecPattern = config.excludeSpecPattern.concat( [ 'vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Site-Capabilities/**', - 'vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Home/homePageWithWoo.cy.js' + 'vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Home/homePageWithWoo.cy.js', + 'vendor/newfold-labs/wp-module-onboarding/tests/cypress/integration/**' // Onboarding requires WP 6.5 or greater, as it uses the Wonder Theme which has the same requirement ] ); } From caf1759e01813270f61b0fff9d4e0ef490511ed1 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Fri, 9 Aug 2024 17:39:10 +0530 Subject: [PATCH 3/3] Skip Next Step Novice User tests for WP < 6.5 --- cypress.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress.config.js b/cypress.config.js index 09784ab6..6b52ca1b 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -61,6 +61,7 @@ module.exports = defineConfig({ config.excludeSpecPattern = config.excludeSpecPattern.concat( [ 'vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Site-Capabilities/**', 'vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Home/homePageWithWoo.cy.js', + 'vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Home/ecommerce-next-steps.cy.js', // Skip this since Onboarding does not support this version 'vendor/newfold-labs/wp-module-onboarding/tests/cypress/integration/**' // Onboarding requires WP 6.5 or greater, as it uses the Wonder Theme which has the same requirement ] ); }