From 723ec392a0ddbb42e54873a7a178ebb5f576d83b Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Fri, 9 Aug 2024 16:11:14 +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 09e1f1b3f..6d198c321 100644 --- a/composer.json +++ b/composer.json @@ -87,7 +87,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 25034d284..a127a31f9 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": "817ca532adf7eaa11f5c9c62f05722f2", + "content-hash": "b53ece273e521ab3acae571783cec0b6", "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 bb9afddbc75507d963f050707024d9ade8e76595 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Fri, 9 Aug 2024 16:16:18 +0530 Subject: [PATCH 2/3] Skip Onboarding tests for WP < 6.5 --- cypress.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress.config.js b/cypress.config.js index c44407440..830f2e6a7 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -53,12 +53,12 @@ module.exports = defineConfig( { } } - // Exclude ecommerce tests for WordPress lower than 6.5 (6.4 or 6.3) or PHP lower than 7.4 (7.1, 7.2 and 7.3) + // Exclude Onboarding and ecommerce tests for WordPress lower than 6.5 (6.4 or 6.3) or PHP lower than 7.4 (7.1, 7.2 and 7.3) 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-onboarding/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/*.cy.js' // Works but failing on cypress + '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 4d3af38684faebc45f87c0033fc1032e7d7f7f6e Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Fri, 9 Aug 2024 17:38:12 +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 830f2e6a7..84f28f8a1 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -58,6 +58,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 ] ); }